fixed results not showing on render

pull/4/head
kay.one 11 years ago
parent 927dbba945
commit 344844234a

@ -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;
};
});

Loading…
Cancel
Save