paypro: better error display on no unspent outputs.

This commit is contained in:
Christopher Jeffrey 2014-08-13 21:06:57 -04:00 committed by Manuel Araoz
commit ea7948f420
2 changed files with 17 additions and 1 deletions

View file

@ -65,7 +65,7 @@
</label>
<div class="small-9 columns">
<input type="number" id="amount"
ng-disabled="loading || ($root.merchant && +$root.merchant.total > 0)"
ng-disabled="loading || ($root.merchant && +$root.merchant.total > 0) || $root.merchantError"
name="amount" placeholder="Amount" ng-model="amount"
min="0.00005400" max="10000000000" enough-amount required
autocomplete="off"