You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2016/03/21 12:45:14 UTC

ambari git commit: AMBARI-15462 JS Error on the host configs page after moving from HDFS/Advanced to the another service configs

Repository: ambari
Updated Branches:
  refs/heads/trunk 76fd6809d -> e7bbfe10d


AMBARI-15462 JS Error on the host configs page after moving from HDFS/Advanced to the another service configs


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e7bbfe10
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e7bbfe10
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e7bbfe10

Branch: refs/heads/trunk
Commit: e7bbfe10d5aa097fbfa4f3132a94135e4c0cb3c0
Parents: 76fd680
Author: Andrii Tkach <at...@hortonworks.com>
Authored: Thu Mar 17 15:32:21 2016 +0200
Committer: Andrii Tkach <at...@hortonworks.com>
Committed: Mon Mar 21 13:39:10 2016 +0200

----------------------------------------------------------------------
 ambari-web/app/views/common/controls_view.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e7bbfe10/ambari-web/app/views/common/controls_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/controls_view.js b/ambari-web/app/views/common/controls_view.js
index 75fad0e..19d3cc5 100644
--- a/ambari-web/app/views/common/controls_view.js
+++ b/ambari-web/app/views/common/controls_view.js
@@ -376,6 +376,7 @@ App.ServiceConfigCheckbox = Ember.Checkbox.extend(App.ServiceConfigPopoverSuppor
    */
   didInsertElement: function() {
     var self = this;
+    if (this.get('serviceConfig').isDestroyed) return;
     this._super();
     this.addObserver('serviceConfig.value', this, 'toggleChecker');
     Object.keys(this.get('allowedPairs')).forEach(function(key) {