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 2016/03/28 13:28:04 UTC

ambari git commit: AMBARI-15586 UI forces user to save configs when there are no any changes. (ababiichuk)

Repository: ambari
Updated Branches:
  refs/heads/trunk 71b4c624f -> 4f3983b11


AMBARI-15586 UI forces user to save configs when there are no any changes. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: 4f3983b11d4b52a62b8022542be6fbb319236516
Parents: 71b4c62
Author: ababiichuk <ab...@hortonworks.com>
Authored: Fri Mar 25 14:23:34 2016 +0200
Committer: ababiichuk <ab...@hortonworks.com>
Committed: Mon Mar 28 14:27:02 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/4f3983b1/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 ece8a2d..9a945db 100644
--- a/ambari-web/app/mixins/common/configs/configs_saver.js
+++ b/ambari-web/app/mixins/common/configs/configs_saver.js
@@ -809,9 +809,9 @@ App.ConfigsSaverMixin = Em.Mixin.create({
           dfd.done(function() {
             if (doConfigActions && self.doConfigActions) {
               self.doConfigActions.bind(self)();
-              if (flag) {
-                self.loadStep();
-              }
+            }
+            if (flag) {
+              self.loadStep();
             }
           });
         },