|
|
@ -47,6 +47,7 @@ var actions = { |
|
|
|
unlockInProgress: unlockInProgress, |
|
|
|
unlockInProgress: unlockInProgress, |
|
|
|
// error handling
|
|
|
|
// error handling
|
|
|
|
displayWarning: displayWarning, |
|
|
|
displayWarning: displayWarning, |
|
|
|
|
|
|
|
showWarning: showWarning, // alias
|
|
|
|
DISPLAY_WARNING: 'DISPLAY_WARNING', |
|
|
|
DISPLAY_WARNING: 'DISPLAY_WARNING', |
|
|
|
HIDE_WARNING: 'HIDE_WARNING', |
|
|
|
HIDE_WARNING: 'HIDE_WARNING', |
|
|
|
hideWarning: hideWarning, |
|
|
|
hideWarning: hideWarning, |
|
|
@ -507,6 +508,10 @@ function hideLoadingIndication () { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function showWarning (text) { |
|
|
|
|
|
|
|
return this.displayWarning(text) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function displayWarning (text) { |
|
|
|
function displayWarning (text) { |
|
|
|
return { |
|
|
|
return { |
|
|
|
type: actions.DISPLAY_WARNING, |
|
|
|
type: actions.DISPLAY_WARNING, |
|
|
|