Merge pull request #3874 from cmgustavo/bug/improv-action-setpassword
Enhanced response time when pressing Set/Ok with password enabled
This commit is contained in:
commit
e867a6a0c7
2 changed files with 31 additions and 27 deletions
|
|
@ -16,18 +16,23 @@
|
|||
|
||||
<div class="input m20t">
|
||||
<input type="password" placeholder="{{'Your password'|translate}}"
|
||||
id="passwordInput" name="password" ng-model="pass.password">
|
||||
id="passwordInput" name="password" ng-model="password">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="small-6 columns">
|
||||
<button class="round small-6 columns outline dark-gray expand" ng-click="pass.close(index.askPassword.callback)" translate>
|
||||
<button
|
||||
class="round small-6 columns outline dark-gray expand"
|
||||
ng-click="pass.close(index.askPassword.callback)"
|
||||
ng-disabled="pass.loading" translate>
|
||||
CANCEL
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="small-6 columns">
|
||||
<button class="round expand" ng-click="pass.set(index.askPassword.isSetup, index.askPassword.callback)" ng-disabled="!pass.password"
|
||||
<button class="round expand"
|
||||
ng-click="pass.set(index.askPassword.isSetup, index.askPassword.callback)"
|
||||
ng-disabled="!password || pass.loading"
|
||||
ng-style="{'background-color':index.backgroundColor}">
|
||||
<span ng-if="index.askPassword.isSetup" translate>SET</span>
|
||||
<span ng-if="!index.askPassword.isSetup">OK</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue