You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2013/11/19 13:09:59 UTC
[2/2] git commit: AMBARI-3804 Focussing on overridden config field
throws JS exception. (ababiichuk)
AMBARI-3804 Focussing on overridden config field throws JS exception. (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/2b5bffb0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/2b5bffb0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/2b5bffb0
Branch: refs/heads/trunk
Commit: 2b5bffb036975eeb4d775916b00e22e6894ec7c8
Parents: 15f3b37
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Tue Nov 19 14:07:39 2013 +0200
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Tue Nov 19 14:07:39 2013 +0200
----------------------------------------------------------------------
ambari-web/app/views/wizard/controls_view.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/2b5bffb0/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 cabfa4f..87ed88d 100644
--- a/ambari-web/app/views/wizard/controls_view.js
+++ b/ambari-web/app/views/wizard/controls_view.js
@@ -67,7 +67,7 @@ App.ServiceConfigTextField = Ember.TextField.extend(App.ServiceConfigPopoverSupp
},
//Set editDone false for all current category config text field parameter
focusIn: function (event) {
- if (!this.get('serviceConfig.selectedHostOptions')) {
+ if (!this.get('serviceConfig.isOverridden')) {
this.get("parentView.categoryConfigsAll").setEach("editDone", false);
}
},