aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-07-01 05:34:08 +0800
committerGitHub <noreply@github.com>2016-07-01 05:34:08 +0800
commit213c84336e1083f4abe278ac2f70c45124c6ab62 (patch)
treeaace1bb372fb2614281b7810b0b621ce412b7819 /ui
parent9a8ede22106c3f59d014be4905a078711180d30c (diff)
parentdb3f73344b9b61c8ccb1cadb5e2113652c40df11 (diff)
downloadtangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar
tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.gz
tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.bz2
tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.lz
tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.xz
tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.zst
tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.zip
Merge pull request #373 from MetaMask/DoubleConfirmation
Double confirmation
Diffstat (limited to 'ui')
-rw-r--r--ui/app/actions.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 0cbc3b9e6..c6b57d29d 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -47,6 +47,7 @@ var actions = {
unlockInProgress: unlockInProgress,
// error handling
displayWarning: displayWarning,
+ showWarning: showWarning, // alias
DISPLAY_WARNING: 'DISPLAY_WARNING',
HIDE_WARNING: 'HIDE_WARNING',
hideWarning: hideWarning,
@@ -507,6 +508,10 @@ function hideLoadingIndication () {
}
}
+function showWarning (text) {
+ return this.displayWarning(text)
+}
+
function displayWarning (text) {
return {
type: actions.DISPLAY_WARNING,