From 179d176dc1bd57bdaf3cab0896738281b60e78d7 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 30 Jun 2016 11:30:31 -0700 Subject: Fix broken action reference --- ui/app/actions.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui') 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, -- cgit v1.2.3