diff --git a/assets/js/controllers/send.controller.js b/assets/js/controllers/send.controller.js index cd48039039..f03b1158a1 100644 --- a/assets/js/controllers/send.controller.js +++ b/assets/js/controllers/send.controller.js @@ -60,6 +60,12 @@ function SendCtrl ($scope, $log, Wallet, Alerts, currency, $uibModal, $uibModalI } }); + $scope.payment.on('message', message => { + if (message && message.text) { + Alerts.displayWarning(message.text, true, $scope.alerts); + } + }); + $scope.hasZeroBalance = (origin) => origin.balance === 0; $scope.close = () => $uibModalInstance.dismiss('');