Merge pull request #3899 from cmgustavo/feat/fast-click-2

More fast-click's
This commit is contained in:
Matias Alejo Garcia 2016-02-22 11:47:34 -03:00
commit 1fba333a7c
4 changed files with 10 additions and 10 deletions

View File

@ -23,7 +23,7 @@
<div class="small-6 columns"> <div class="small-6 columns">
<button <button
class="round small-6 columns outline dark-gray expand" class="round small-6 columns outline dark-gray expand"
ng-click="pass.close(index.askPassword.callback)" fast-click callback-fn="pass.close(index.askPassword.callback)"
ng-disabled="pass.loading" translate> ng-disabled="pass.loading" translate>
CANCEL CANCEL
</button> </button>

View File

@ -6,7 +6,7 @@
<nav class="tab-bar" ng-style="{'background-color':txc.color}"> <nav class="tab-bar" ng-style="{'background-color':txc.color}">
<section class="left-small"> <section class="left-small">
<a ng-click="txc.cancel()"> <a fast-click callback-fn="txc.cancel()">
<i class="icon-arrow-left3 icon-back"></i> <i class="icon-arrow-left3 icon-back"></i>
<span class="text-back" translate>Back</span> <span class="text-back" translate>Back</span>
</a> </a>

View File

@ -8,7 +8,7 @@
<span translate>Sent</span> <span translate>Sent</span>
</div> </div>
<div class="text-center m20t"> <div class="text-center m20t">
<a class="button outline round light-gray tiny small-4" ng-click="cancel()">OKAY</a> <a class="button outline round light-gray tiny small-4" fast-click callback-fn="cancel()">OKAY</a>
</div> </div>
</div> </div>
@ -19,7 +19,7 @@
<span translate>Payment Proposal Created</span> <span translate>Payment Proposal Created</span>
</div> </div>
<div class="text-center"> <div class="text-center">
<a class="button outline round light-gray tiny small-4" ng-click="cancel()">OKAY</a> <a class="button outline round light-gray tiny small-4" fast-click callback-fn="cancel()">OKAY</a>
</div> </div>
</div> </div>
@ -31,7 +31,7 @@
<span translate>Payment Accepted</span> <span translate>Payment Accepted</span>
</div> </div>
<div class="text-center"> <div class="text-center">
<a class="button outline round light-gray tiny small-4" ng-click="cancel()">OKAY</a> <a class="button outline round light-gray tiny small-4" fast-click callback-fn="cancel()">OKAY</a>
</div> </div>
</div> </div>
@ -41,6 +41,6 @@
<span translate>Payment Rejected</span> <span translate>Payment Rejected</span>
</div> </div>
<div class="text-center"> <div class="text-center">
<a class="button outline light-gray round tiny small-4" ng-click="cancel()">OKAY</a> <a class="button outline light-gray round tiny small-4" fast-click callback-fn="cancel()">OKAY</a>
</div> </div>
</div> </div>

View File

@ -381,7 +381,7 @@
</div> </div>
<div class="row m20t"> <div class="row m20t">
<div class="large-12 large-centered columns"> <div class="large-12 large-centered columns">
<form name="sendForm" ng-submit="home.submitForm()" ng-disabled="home.blockUx || home.onGoingProcess" novalidate> <form name="sendForm" ng-disabled="home.blockUx || home.onGoingProcess" novalidate>
<div ng-hide="home._paypro || home.hideAddress"> <div ng-hide="home._paypro || home.hideAddress">
<div class="row collapse"> <div class="row collapse">
@ -474,11 +474,11 @@
<div class="row" ng-show="!home.onGoingProcess"> <div class="row" ng-show="!home.onGoingProcess">
<div class="large-6 medium-6 small-6 columns" ng-show="!home.blockUx && (home._paypro || home.lockAddress || home.lockAmount)"> <div class="large-6 medium-6 small-6 columns" ng-show="!home.blockUx && (home._paypro || home.lockAddress || home.lockAmount)">
<a ng-click="home.resetForm(sendForm)" class="button expand outline dark-gray round" translate>Cancel</a> <a fast-click callback-fn="home.resetForm(sendForm)" class="button expand outline dark-gray round" translate>Cancel</a>
</div> </div>
<div class="columns" ng-class="{'small-6 medium-6 large-6':(home._paypro || home.lockAddress || home.lockAmount)}"> <div class="columns" ng-class="{'small-6 medium-6 large-6':(home._paypro || home.lockAddress || home.lockAmount)}">
<button type="submit" class="button black round expand" ng-disabled="sendForm.$invalid || home.blockUx || index.isOffline || (home.paymentExpired && home._paypro)" <button class="button black round expand" ng-disabled="sendForm.$invalid || home.blockUx || index.isOffline || (home.paymentExpired && home._paypro)"
ng-style="{'background-color':index.backgroundColor}" translate> ng-style="{'background-color':index.backgroundColor}" fast-click callback-fn="home.submitForm()" translate>
Send Send
</button> </button>
</div> </div>