Bug 636569 - Fix incorrect reference to this when crashes fail to submit. r=mossop a=2.0

This commit is contained in:
Josh Matthews 2011-02-24 16:25:30 -05:00
parent 4df99b7101
commit 9beb953be8

View File

@ -357,7 +357,7 @@ Submitter.prototype = {
return;
iframe.removeEventListener("load", loadHandler, true);
if (!self.submitForm()) {
this.notifyStatus(FAILED);
self.notifyStatus(FAILED);
self.cleanup();
}
}