diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-11-10 06:28:23 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-11-10 06:28:23 +0800 |
commit | 14a833f5c02c1ee972e5186920d2f22e49eeb239 (patch) | |
tree | fc8fde26f61a2649107556a4786ae066b0b6aa90 /ui/app/components | |
parent | ebcdb7a4917dae38080b5e73b2ebcf77b7537479 (diff) | |
parent | 7b3f1ecc41e1c57252f1d862930aebc3e9c446ea (diff) | |
download | tangerine-wallet-browser-14a833f5c02c1ee972e5186920d2f22e49eeb239.tar tangerine-wallet-browser-14a833f5c02c1ee972e5186920d2f22e49eeb239.tar.gz tangerine-wallet-browser-14a833f5c02c1ee972e5186920d2f22e49eeb239.tar.bz2 tangerine-wallet-browser-14a833f5c02c1ee972e5186920d2f22e49eeb239.tar.lz tangerine-wallet-browser-14a833f5c02c1ee972e5186920d2f22e49eeb239.tar.xz tangerine-wallet-browser-14a833f5c02c1ee972e5186920d2f22e49eeb239.tar.zst tangerine-wallet-browser-14a833f5c02c1ee972e5186920d2f22e49eeb239.zip |
Merge branch 'deadly' of github.com:MetaMask/metamask-plugin into deadly
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/coinbase-form.js | 4 | ||||
-rw-r--r-- | ui/app/components/shapeshift-form.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/coinbase-form.js b/ui/app/components/coinbase-form.js index efd05ec96..3c5708bf8 100644 --- a/ui/app/components/coinbase-form.js +++ b/ui/app/components/coinbase-form.js @@ -116,10 +116,10 @@ CoinbaseForm.prototype.toCoinbase = function () { props.dispatch(actions.buyEth(address, props.buyView.amount)) } else if (!isValidAmountforCoinBase(amount).valid) { message = isValidAmountforCoinBase(amount).message - return props.dispatch(actions.showWarning(message)) + return props.dispatch(actions.displayWarning(message)) } else { message = 'Receiving address is invalid.' - return props.dispatch(actions.showWarning(message)) + return props.dispatch(actions.displayWarning(message)) } } diff --git a/ui/app/components/shapeshift-form.js b/ui/app/components/shapeshift-form.js index 2bb384b94..1da549288 100644 --- a/ui/app/components/shapeshift-form.js +++ b/ui/app/components/shapeshift-form.js @@ -244,7 +244,7 @@ ShapeshiftForm.prototype.updateCoin = function (event) { if (!coinOptions[coin.toUpperCase()] || coin.toUpperCase() === 'ETH') { var message = 'Not a valid coin' - return props.dispatch(actions.showWarning(message)) + return props.dispatch(actions.displayWarning(message)) } else { return props.dispatch(actions.pairUpdate(coin)) } |