Fix enter key in password dialogs

This commit is contained in:
Joseph Schorr 2016-06-09 14:45:48 -04:00
parent 12c7f20ae9
commit 40ec2fcfd0
3 changed files with 6 additions and 6 deletions

View file

@ -168,14 +168,14 @@ angular.module('quay').factory('ApiService', ['Restangular', '$q', 'UtilService'
var box = bootbox.dialog({
"message": 'It has been more than a few minutes since you last logged in, ' +
'so please verify your password to perform this sensitive operation:' +
'<form style="margin-top: 10px" action="javascript:void(0)">' +
'<form style="margin-top: 10px" action="javascript:$(\'.btn-continue\').click()">' +
'<input id="freshPassword" class="form-control" type="password" placeholder="Current Password">' +
'</form>',
"title": 'Please Verify',
"buttons": {
"verify": {
"label": "Verify",
"className": "btn-success",
"className": "btn-success btn-continue",
"callback": verifyNow
},
"close": {