1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app
Mark Stacey c2499d63aa Validate custom spend limit (#7920)
The custom spend limit was previously not validated. It did have a
minimum of zero set, but this didn't have any affect (that minimum is
used for form constraint validation, and this field wasn't in a form).
The field was never checked to ensure the contents didn't exceed the
maximum.

The field is now checked for values that exceed the maximum, and
invalid values in general (including negative values).

The parameters to the `showEditApprovalPermissionModal` were also
alphabetized to make them easier to read. In the course of doing this,
I noticed that the origin was missing from one of the calls. This was
responsible for the modal saying "Spend limit requested by undefined"
when clicking "Edit" under the transaction details. This has been
fixed.
2020-01-29 14:21:54 -04:00
..
_locales Validate custom spend limit (#7920) 2020-01-29 14:21:54 -04:00
fonts Update design of phishing warning screen 2019-02-05 13:18:24 -03:30
images Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648) 2019-12-05 10:23:43 -10:00
scripts Process URL fragment for ens-ipfs redirects (#7604) 2019-12-05 16:27:08 -04:00
vendor/trezor Close window after opening fullscreen (#6966) 2019-08-08 11:50:32 -03:00
home.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
manifest.json Version v7.7.4 2020-01-29 04:42:52 +00:00
notification.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
phishing.html Update design of phishing warning screen 2019-02-05 13:18:24 -03:30
popup.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00
unsupport.html Rename files 2018-05-29 12:44:37 +08:00