Disable remoting for reload

This commit is contained in:
Raymond Feng 2013-08-26 10:54:15 -07:00
parent be15eabc36
commit ecc142b4d2
1 changed files with 2 additions and 0 deletions

View File

@ -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