1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
metamask-extension/ui/app/pages
Mark Stacey dbd14d796c
Clear beforeunload handler after button is pressed (#7346)
On the signature request and transaction confirmation notification
pages, the closure of the notification UI implies that the request has
been rejected. However, this rejection is being submitted even when the
window is closed as a result of the user explicitly confirming or
rejecting. In practice, I suspect this has no effect because the
transaction, after being explicitly confirmed or rejected, has already
been moved out of a pending state. But just in case there is some
present or future edge case that might be affected, the `beforeunload`
handler is now removed once the user has explicitly made a choice.

This mistake was introduced recently in #7333
2019-11-04 14:03:57 -04:00
..
add-token Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
confirm-add-suggested-token Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
confirm-add-token Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
confirm-approve Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
confirm-deploy-contract Only pass english function names to functionType metric 2019-04-08 13:31:11 -02:30
confirm-send-ether Only pass english function names to functionType metric 2019-04-08 13:31:11 -02:30
confirm-send-token Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
confirm-token-transaction-base Fix confirm token transaction amount display (#7081) 2019-08-31 13:26:49 -03:00
confirm-transaction New signature request v3 UI (#6891) 2019-11-04 09:10:46 -03:30
confirm-transaction-base Clear beforeunload handler after button is pressed (#7346) 2019-11-04 14:03:57 -04:00
confirm-transaction-switch 4byte fallback (#6551) 2019-06-18 09:47:14 -02:30
create-account Refactor new-account.js (#7312) 2019-10-29 12:12:41 -04:00
first-time-flow Cleanup beforeunload handler after transaction is resolved (#7333) 2019-10-31 13:27:22 -03:00
home Add migration on 3box imports and remove feature flag (#7209) 2019-09-26 03:24:52 -04:00
keychains Add migration on 3box imports and remove feature flag (#7209) 2019-09-26 03:24:52 -04:00
lock Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
mobile-sync Update mobile sync (#6967) 2019-08-06 15:33:41 -04:00
provider-approval Add hostname and extensionId to site metadata (#7218) 2019-10-29 13:14:41 -03:00
routes Adds Wyre Widget (#6434) 2019-11-04 11:13:24 -03:30
send Use AdvancedGasInputs in AdvancedTabContent (#7186) 2019-10-23 09:23:15 -03:00
settings Add static defaultProps 2019-10-29 17:55:10 -07:00
unlock-page Open retore-vault route from popup (#6353) 2019-03-26 23:35:29 -07:00
index.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
index.scss Address book send plus contact list (#6914) 2019-07-31 17:26:44 -02:30