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);
|
||||
};
|
||||
|
||||
/*
|
||||
setRemoting(DataAccessObject.prototype.reload, {
|
||||
description: 'Reload a model instance from the data source',
|
||||
returns: {arg: 'data', type: 'object', root: true}
|
||||
});
|
||||
*/
|
||||
|
||||
/**
|
||||
* Define readonly property on object
|
||||
|
|
Loading…
Reference in New Issue