fixed results not showing on render

This commit is contained in:
kay.one 2013-09-17 22:50:13 -07:00
parent 927dbba945
commit 344844234a
1 changed files with 0 additions and 13 deletions

View File

@ -9,7 +9,6 @@ define(
return function () {
var originalOnRender = this.prototype.onRender;
var originalOnClose = this.prototype.onClose;
var originalBeforeClose = this.prototype.onBeforeClose;
var errorHandler = function (response) {
@ -65,18 +64,6 @@ define(
}
};
this.prototype.onClose = function () {
if (this.model && this.model.isNew()) {
this.model.destroy();
}
if (originalOnClose) {
originalBeforeClose.call(this);
}
};
return this;
};
});