Updated Branches: refs/heads/trunk 2d946404b -> edd114db2
AMBARI-3455 JS Error occurs when host-override config field in focus. (ababiichuk) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/edd114db Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/edd114db Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/edd114db Branch: refs/heads/trunk Commit: edd114db25fd2b3ed983305ece250943d30606d6 Parents: 2d94640 Author: aBabiichuk <[email protected]> Authored: Fri Oct 4 17:28:29 2013 +0300 Committer: aBabiichuk <[email protected]> Committed: Fri Oct 4 17:28:29 2013 +0300 ---------------------------------------------------------------------- ambari-web/app/views/wizard/controls_view.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/edd114db/ambari-web/app/views/wizard/controls_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/wizard/controls_view.js b/ambari-web/app/views/wizard/controls_view.js index 456c18c..1f13bca 100644 --- a/ambari-web/app/views/wizard/controls_view.js +++ b/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 () {
