Bug 319006: External view source editor does not fallback to internal viewer on error, patch by Jason Barnabe (np) <jason_barnabe@fastmail.fm>, r=mconnor

This commit is contained in:
gavin%gavinsharp.com 2005-12-04 06:12:00 +00:00
parent 0ba93bd403
commit 691d0d7966

View File

@ -224,7 +224,7 @@ var gViewSourceUtils = {
gViewSourceUtils.handleCallBack(this.callBack, true, this.data);
} catch (ex) {
// we failed loading it with the external editor.
this.handleCallBack(this.callBack, false, this.data);
gViewSourceUtils.handleCallBack(this.callBack, false, this.data);
} finally {
this.destroy();
}