aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-12-08 01:46:28 +0800
committerGitHub <noreply@github.com>2017-12-08 01:46:28 +0800
commit845aec82b976b1676c504832f152d6d9142c11e1 (patch)
treef6306a17629d68e217488ab15af7ce5029c07335 /ui/app/actions.js
parentbd5ce9461e5119c13ab8be29db5cdfc57228bac8 (diff)
parent2e9137dddd4abd07cc45caa670f09bdc9559bbbb (diff)
downloadtangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.gz
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.bz2
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.lz
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.xz
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.zst
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.zip
Merge branch 'NewUI-flat' into MM-333-auto-add-users-to-new-UI
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index bba2a014f..ed0518184 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -149,6 +149,7 @@ var actions = {
UPDATE_SEND_AMOUNT: 'UPDATE_SEND_AMOUNT',
UPDATE_SEND_MEMO: 'UPDATE_SEND_MEMO',
UPDATE_SEND_ERRORS: 'UPDATE_SEND_ERRORS',
+ UPDATE_MAX_MODE: 'UPDATE_MAX_MODE',
UPDATE_SEND: 'UPDATE_SEND',
CLEAR_SEND: 'CLEAR_SEND',
updateGasLimit,
@@ -160,6 +161,7 @@ var actions = {
updateSendAmount,
updateSendMemo,
updateSendErrors,
+ setMaxModeTo,
updateSend,
clearSend,
setSelectedAddress,
@@ -642,6 +644,13 @@ function updateSendErrors (error) {
}
}
+function setMaxModeTo (bool) {
+ return {
+ type: actions.UPDATE_MAX_MODE,
+ value: bool,
+ }
+}
+
function updateSend (newSend) {
return {
type: actions.UPDATE_SEND,