You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2015/06/12 20:29:17 UTC

ambari git commit: AMBARI-11889. Dependent property info does not go away after saving configuration changes (akovalenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk 1a5658b4b -> 7d463e79c


AMBARI-11889. Dependent property info does not go away after saving configuration changes (akovalenko)


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

Branch: refs/heads/trunk
Commit: 7d463e79ca0038ca562c2ba3744ce5a9b59cbf18
Parents: 1a5658b
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Fri Jun 12 19:31:17 2015 +0300
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Fri Jun 12 21:28:59 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/mixins/common/configs/configs_saver.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7d463e79/ambari-web/app/mixins/common/configs/configs_saver.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/configs/configs_saver.js b/ambari-web/app/mixins/common/configs/configs_saver.js
index 4626c15..d1891cd 100644
--- a/ambari-web/app/mixins/common/configs/configs_saver.js
+++ b/ambari-web/app/mixins/common/configs/configs_saver.js
@@ -652,6 +652,7 @@ App.ConfigsSaverMixin = Em.Mixin.create({
 
   /**
    * On save configs handler. Open save configs popup with appropriate message
+   * and clear config dependencies list.
    * @private
    * @method onDoPUTClusterConfigurations
    */
@@ -693,6 +694,7 @@ App.ConfigsSaverMixin = Em.Mixin.create({
       App.QuickViewLinks.proto().loadTags();
     }
     this.showSaveConfigsPopup(header, flag, message, messageClass, value, status, urlParams);
+    this.clearDependentConfigs();
   },
 
   /**