Parcourir la source

AMBARI-10559 Add Service: Customize Service page broken after navigating from configs page with theme. (ababiichuk)

aBabiichuk il y a 10 ans
Parent
commit
55e31bb820

+ 0 - 1
ambari-web/app/config.js

@@ -68,7 +68,6 @@ App.supports = {
   autoRollbackHA: false,
   alwaysEnableManagedMySQLForHive: false,
   preKerberizeCheck: false,
-  automatedKerberos: true,
   customizeAgentUserAccount: false,
   installGanglia: false,
   opsDuringRollingUpgrade: false,

+ 3 - 1
ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js

@@ -345,7 +345,9 @@ App.SliderConfigWidgetView = App.ConfigWidgetView.extend({
    * @method changeBoundaries
    */
   changeBoundaries: function() {
-    Em.run.once(this, 'changeBoundariesOnce');
+    if (this.get('config.stackConfigProperty.widget')) {
+      Em.run.once(this, 'changeBoundariesOnce');
+    }
   },
 
   /**