Updated Branches: refs/heads/trunk 37793fcbc -> 582bfbcd2
AMBARI-2615. JS Error occurs when config field in/out focus. (Andrii Tkach via yusaku) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/582bfbcd Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/582bfbcd Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/582bfbcd Branch: refs/heads/trunk Commit: 582bfbcd26f3c80b8a2bfd4e376f8a690aab8bbc Parents: 37793fc Author: Yusaku Sako <[email protected]> Authored: Wed Jul 10 11:18:05 2013 -0700 Committer: Yusaku Sako <[email protected]> Committed: Wed Jul 10 11:18:05 2013 -0700 ---------------------------------------------------------------------- .../app/templates/common/configs/propertyDependence.hbs | 10 +++++----- ambari-web/app/views/wizard/controls_view.js | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/582bfbcd/ambari-web/app/templates/common/configs/propertyDependence.hbs ---------------------------------------------------------------------- diff --git a/ambari-web/app/templates/common/configs/propertyDependence.hbs b/ambari-web/app/templates/common/configs/propertyDependence.hbs index c55f9cb..bc04df4 100644 --- a/ambari-web/app/templates/common/configs/propertyDependence.hbs +++ b/ambari-web/app/templates/common/configs/propertyDependence.hbs @@ -16,13 +16,13 @@ * limitations under the License. }} -<table class="table table-bordered table-striped span6"> +<table class="table table-bordered table-striped"> <thead> <tr> - <th style="width:20%">{{t common.service}}</th> - <th style="width:20%">{{t common.property}}</th> - <th style="width:30%">{{t installer.step7.popup.currentValue}}</th> - <th style="width:30%">{{t installer.step7.popup.adjustedValue}}</th> + <th>{{t common.service}}</th> + <th>{{t common.property}}</th> + <th>{{t installer.step7.popup.currentValue}}</th> + <th>{{t installer.step7.popup.adjustedValue}}</th> </tr> </thead> <tbody> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/582bfbcd/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 0a9a70e..b00859b 100644 --- a/ambari-web/app/views/wizard/controls_view.js +++ b/ambari-web/app/views/wizard/controls_view.js @@ -60,11 +60,11 @@ App.ServiceConfigTextField = Ember.TextField.extend(App.ServiceConfigPopoverSupp }, //Set editDone true for last edited config text field parameter focusOut: function(event){ - this.get('_parentView').get("content").set("editDone", true); + this.get('serviceConfig').set("editDone", true); }, //Set editDone false for all current category config text field parameter focusIn: function(event){ - this.get("categoryConfigsAll").setEach("editDone", false); + this.get("parentView.categoryConfigsAll").setEach("editDone", false); }, textFieldClassName: function () {
