Fix inheritance bug
This commit is contained in:
parent
fbf0e35f1d
commit
4be6ebceb7
|
@ -43,9 +43,9 @@ Model.setup = function () {
|
|||
// each model has its
|
||||
// own access control
|
||||
// list
|
||||
Model.acl = [];
|
||||
ModelCtor.acl = [];
|
||||
|
||||
Model.sharedCtor = function (data, id, fn) {
|
||||
ModelCtor.sharedCtor = function (data, id, fn) {
|
||||
if(typeof data === 'function') {
|
||||
fn = data;
|
||||
data = null;
|
||||
|
|
Loading…
Reference in New Issue