Selaa lähdekoodia

AMBARI-3455 JS Error occurs when host-override config field in focus. (ababiichuk)

aBabiichuk 11 vuotta sitten
vanhempi
commit
edd114db25
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      ambari-web/app/views/wizard/controls_view.js

+ 3 - 1
ambari-web/app/views/wizard/controls_view.js

@@ -67,7 +67,9 @@ App.ServiceConfigTextField = Ember.TextField.extend(App.ServiceConfigPopoverSupp
   },
   //Set editDone false for all current category config text field parameter
   focusIn: function(event){
-    this.get("parentView.categoryConfigsAll").setEach("editDone", false);
+    if (!this.get('serviceConfig.selectedHostOptions')) {
+      this.get("parentView.categoryConfigsAll").setEach("editDone", false);
+    }
   },
 
   textFieldClassName: function () {