From 89348af59e7378f04c1d7c65bc1e137bad05a32e Mon Sep 17 00:00:00 2001 From: Stan Silvert Date: Fri, 28 Oct 2016 12:06:53 -0400 Subject: [PATCH] KEYCLOAK-3281: Pressing Enter in Identity Provider form causes error --- .../base/admin/resources/js/controllers/realm.js | 2 +- .../partials/realm-identity-provider-oidc.html | 14 ++++++++++---- .../partials/realm-identity-provider-saml.html | 14 ++++++++++---- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js b/themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js index d0c2d0e8e1..ac19dacd4e 100644 --- a/themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js +++ b/themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js @@ -956,7 +956,7 @@ module.controller('RealmIdentityProviderCtrl', function($scope, $filter, $upload id: $scope.identityProvider.internalId }, $scope.identityProvider, function () { $route.reload(); - Notifications.success("The " + $scope.identityProvider.alias + " provider has been update."); + Notifications.success("The " + $scope.identityProvider.alias + " provider has been updated."); }); } }; diff --git a/themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html b/themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html index 80b4074793..c686283d5f 100755 --- a/themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html +++ b/themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html @@ -222,8 +222,11 @@ {{:: 'identity-provider.import-from-url.tooltip' | translate}} -
- +
+
+ +
+
@@ -238,8 +241,11 @@ {{files[0].name}}
-
- +
+ +
+ +
diff --git a/themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html b/themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html index 0ed66c6cd2..49f0e47976 100755 --- a/themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html +++ b/themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html @@ -191,8 +191,11 @@ {{:: 'saml.import-from-url.tooltip' | translate}} -
- +
+
+ +
+
@@ -206,8 +209,11 @@ {{files[0].name}}
-
- +
+ +
+ +