From 40ec2fcfd092423f37bf96b82e3ee851d983581e Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 9 Jun 2016 14:45:48 -0400 Subject: [PATCH] Fix enter key in password dialogs --- static/js/core-config-setup.js | 4 ++-- static/js/services/api-service.js | 4 ++-- static/js/services/ui-service.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/static/js/core-config-setup.js b/static/js/core-config-setup.js index 51ba81a48..b2065b8c4 100644 --- a/static/js/core-config-setup.js +++ b/static/js/core-config-setup.js @@ -241,14 +241,14 @@ angular.module("core-config-setup", ['angularFileUpload']) var box = bootbox.dialog({ "message": 'Please enter your superuser password to validate your auth configuration:' + - '
' + + '' + '' + '
', "title": 'Enter Password', "buttons": { "success": { "label": "Validate Config", - "className": "btn-success", + "className": "btn-success btn-continue", "callback": function() { $scope.performValidateAndSave($('#validatePassword').val()); } diff --git a/static/js/services/api-service.js b/static/js/services/api-service.js index b7f4fb4ad..b0a48783c 100644 --- a/static/js/services/api-service.js +++ b/static/js/services/api-service.js @@ -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:' + - '
' + + '' + '' + '
', "title": 'Please Verify', "buttons": { "verify": { "label": "Verify", - "className": "btn-success", + "className": "btn-success btn-continue", "callback": verifyNow }, "close": { diff --git a/static/js/services/ui-service.js b/static/js/services/ui-service.js index 126a1c216..0c6513a5c 100644 --- a/static/js/services/ui-service.js +++ b/static/js/services/ui-service.js @@ -199,14 +199,14 @@ angular.module('quay').factory('UIService', ['$timeout', '$rootScope', '$locatio var box = bootbox.dialog({ "message": message + - '
' + + '' + '' + '
', "title": 'Please Verify', "buttons": { "verify": { "label": "Verify", - "className": "btn-success", + "className": "btn-success btn-continue", "callback": success }, "close": {