aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-07-01 02:30:31 +0800
committerDan Finlay <dan@danfinlay.com>2016-07-01 02:30:31 +0800
commit179d176dc1bd57bdaf3cab0896738281b60e78d7 (patch)
tree998cbcf542ed449fecc3041c4204b26a8858641f /ui
parent9a8ede22106c3f59d014be4905a078711180d30c (diff)
downloadtangerine-wallet-browser-179d176dc1bd57bdaf3cab0896738281b60e78d7.tar
tangerine-wallet-browser-179d176dc1bd57bdaf3cab0896738281b60e78d7.tar.gz
tangerine-wallet-browser-179d176dc1bd57bdaf3cab0896738281b60e78d7.tar.bz2
tangerine-wallet-browser-179d176dc1bd57bdaf3cab0896738281b60e78d7.tar.lz
tangerine-wallet-browser-179d176dc1bd57bdaf3cab0896738281b60e78d7.tar.xz
tangerine-wallet-browser-179d176dc1bd57bdaf3cab0896738281b60e78d7.tar.zst
tangerine-wallet-browser-179d176dc1bd57bdaf3cab0896738281b60e78d7.zip
Fix broken action reference
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,