Disable remoting for reload
This commit is contained in:
parent
be15eabc36
commit
ecc142b4d2
|
@ -765,10 +765,12 @@ DataAccessObject.prototype.reload = function reload(callback) {
|
||||||
this.constructor.findById(getIdValue(this.constructor, this), callback);
|
this.constructor.findById(getIdValue(this.constructor, this), callback);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
setRemoting(DataAccessObject.prototype.reload, {
|
setRemoting(DataAccessObject.prototype.reload, {
|
||||||
description: 'Reload a model instance from the data source',
|
description: 'Reload a model instance from the data source',
|
||||||
returns: {arg: 'data', type: 'object', root: true}
|
returns: {arg: 'data', type: 'object', root: true}
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define readonly property on object
|
* Define readonly property on object
|
||||||
|
|
Loading…
Reference in New Issue