diff --git a/themes/src/main/resources/theme/base/admin/resources/js/app.js b/themes/src/main/resources/theme/base/admin/resources/js/app.js index ac88d5ef20..ad0b5e9d5f 100755 --- a/themes/src/main/resources/theme/base/admin/resources/js/app.js +++ b/themes/src/main/resources/theme/base/admin/resources/js/app.js @@ -2468,6 +2468,10 @@ module.controller('RoleSelectorModalCtrl', function($scope, realm, config, confi module.controller('ProviderConfigCtrl', function ($modal, $scope, ComponentUtils) { $scope.fileNames = {}; + // KEYCLOAK-4463 + $scope.initEditor = function(editor){ + editor.$blockScrolling = Infinity; // suppress warning message + }; $scope.openRoleSelector = function (configName, config) { $modal.open({ diff --git a/themes/src/main/resources/theme/base/admin/resources/js/authz/authz-controller.js b/themes/src/main/resources/theme/base/admin/resources/js/authz/authz-controller.js index f6f7577851..009f24071d 100644 --- a/themes/src/main/resources/theme/base/admin/resources/js/authz/authz-controller.js +++ b/themes/src/main/resources/theme/base/admin/resources/js/authz/authz-controller.js @@ -1551,8 +1551,9 @@ module.controller('ResourceServerPolicyJSDetailCtrl', function($scope, $route, $ onInit : function() { $scope.initEditor = function(editor){ + editor.$blockScrolling = Infinity; var session = editor.getSession(); - + session.setMode('ace/mode/javascript'); }; }, diff --git a/themes/src/main/resources/theme/base/admin/resources/templates/kc-component-config.html b/themes/src/main/resources/theme/base/admin/resources/templates/kc-component-config.html index b3c84c6eee..c5172c0cc1 100755 --- a/themes/src/main/resources/theme/base/admin/resources/templates/kc-component-config.html +++ b/themes/src/main/resources/theme/base/admin/resources/templates/kc-component-config.html @@ -46,7 +46,7 @@