Remove reload method body
This commit is contained in:
parent
dcdbef861e
commit
0632f52411
|
@ -313,7 +313,5 @@ setRemoting(DataModel.prototype.updateAttributes, {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
DataModel.prototype.reload = function reload(callback) {
|
DataModel.prototype.reload = function reload(callback) {
|
||||||
if (stillConnecting(this.getDataSource(), this, arguments)) return;
|
|
||||||
|
|
||||||
this.constructor.findById(getIdValue(this.constructor, this), callback);
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue