Bug 924693 - Add payment callbacks earlier in startup. r=mfinkle

This commit is contained in:
Wes Johnston 2013-11-11 13:56:10 -08:00
parent 20bc494eaf
commit 2c54507ff7

View File

@ -133,7 +133,7 @@ PaymentUI.prototype = {
} finally {
tab.browser.removeEventListener("DOMContentLoaded", loadPaymentShim);
}
}, false);
}, true);
// fail the payment if the tab is closed on its own
tab.browser.addEventListener("TabClose", function paymentCanceled() {