From cee2d697183e6e38bc4f820dee2c3fee4304a055 Mon Sep 17 00:00:00 2001 From: Stan Silvert Date: Fri, 4 Sep 2015 11:42:34 -0400 Subject: [PATCH] Update for use with Angualr 1.4 anti-watch feature. Also, limit sanitize to params. This avoids issue with Unicode. --- .../theme/base/admin/resources/js/app.js | 2 +- .../resources/partials/realm-detail.html | 16 +++--- .../partials/realm-login-settings.html | 50 +++++++++---------- 3 files changed, 34 insertions(+), 34 deletions(-) diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/js/app.js b/forms/common-themes/src/main/resources/theme/base/admin/resources/js/app.js index d9d312cf41..00dab916d5 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/js/app.js +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/js/app.js @@ -53,7 +53,7 @@ module.factory('authInterceptor', function($q, Auth) { }); module.config(function($translateProvider) { - $translateProvider.useSanitizeValueStrategy('sanitize'); + $translateProvider.useSanitizeValueStrategy('sanitizeParameters'); $translateProvider.preferredLanguage('en'); $translateProvider.useCookieStorage(); $translateProvider.useUrlLoader('messages.json'); diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-detail.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-detail.html index d20e9d5323..d39ba1403b 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-detail.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-detail.html @@ -3,29 +3,29 @@
- +
- +
- +
- {{'realm-detail.enabled.tooltip' | translate}} + {{:: 'realm-detail.enabled.tooltip' | translate}}
- - + +
- - + +
diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-login-settings.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-login-settings.html index fc2eeb0c22..9766c7a649 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-login-settings.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-login-settings.html @@ -4,66 +4,66 @@
- +
- +
- {{'registrationAllowed.tooltip' | translate}} + {{:: 'registrationAllowed.tooltip' | translate}}
- +
- +
- {{'registrationEmailAsUsername.tooltip' | translate}} + {{:: 'registrationEmailAsUsername.tooltip' | translate}}
- +
- +
- {{'editUsernameAllowed.tooltip' | translate}} + {{:: 'editUsernameAllowed.tooltip' | translate}}
- +
- +
- {{'resetPasswordAllowed.tooltip' |translate}} + {{:: 'resetPasswordAllowed.tooltip' |translate}}
- +
- +
- {{'rememberMe.tooltip' | translate}} + {{:: 'rememberMe.tooltip' | translate}}
- +
- +
- {{'verifyEmail.tooltip' | translate}} + {{:: 'verifyEmail.tooltip' | translate}}
- +
- {{'sslRequired.tooltip' | translate}} + {{:: 'sslRequired.tooltip' | translate}}
- - + +