Commit bd97417a authored by bbaer's avatar bbaer
Browse files

more refactoring error

parent d4ec4d60
......@@ -111,20 +111,20 @@ var QfqNS = QfqNS || {};
var message = "\0/";
n.Log.debug("beforeUnloadHandler()");
if (this.qfqPage.isFormChanged() && !this.intentionalClose) {
if (this.qfqForm.isFormChanged() && !this.intentionalClose) {
event.returnValue = message;
return message;
}
this.qfqPage.releaseLock();
this.qfqForm.releaseLock();
};
/**
* @private
*/
n.QfqPage.prototype.destroyFormHandler = function (obj) {
this.settings.qfqPage = null;
this.settings.qfqForm = null;
$('#' + this.settings.tabsId).remove();
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment