add control to disable send button

This commit is contained in:
Javier 2016-02-16 11:11:09 -03:00
commit 9e18060fd8

View file

@ -482,8 +482,8 @@
<a fast-click callback-fn="home.resetForm(sendForm)" class="button expand outline dark-gray round" translate>Cancel</a>
</div>
<div class="columns" ng-class="{'small-6 medium-6 large-6':(home._paypro || home.lockAddress || home.lockAmount)}">
<button class="button black round expand" ng-disabled="sendForm.$invalid || home.blockUx || index.isOffline || (home.paymentExpired && home._paypro)"
ng-style="{'background-color':index.backgroundColor}" fast-click callback-fn="home.submitForm()" translate>
<button type="submit" class="button black round expand" ng-disabled="sendForm.$invalid || home.blockUx || index.isOffline || home.destinationAddressNeedsBackup"
ng-style="{'background-color':index.backgroundColor}" translate>
Send
</button>
</div>