Repository: ambari
Updated Branches:
  refs/heads/trunk 1046c8fec -> 128f26ce9


AMBARI-15816: EU/RU - cannot resume upgrade after pausing on a manual task 
(rzang)


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

Branch: refs/heads/trunk
Commit: 128f26ce98481a1d46da7d85b6c2b52a0a61db91
Parents: 1046c8f
Author: Richard Zang <[email protected]>
Authored: Mon Apr 11 16:34:14 2016 -0700
Committer: Richard Zang <[email protected]>
Committed: Mon Apr 11 16:34:14 2016 -0700

----------------------------------------------------------------------
 .../app/views/main/admin/stack_upgrade/upgrade_wizard_view.js  | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/128f26ce/ambari-web/app/views/main/admin/stack_upgrade/upgrade_wizard_view.js
----------------------------------------------------------------------
diff --git 
a/ambari-web/app/views/main/admin/stack_upgrade/upgrade_wizard_view.js 
b/ambari-web/app/views/main/admin/stack_upgrade/upgrade_wizard_view.js
index ff1cd7c..e54a0fa 100644
--- a/ambari-web/app/views/main/admin/stack_upgrade/upgrade_wizard_view.js
+++ b/ambari-web/app/views/main/admin/stack_upgrade/upgrade_wizard_view.js
@@ -415,8 +415,10 @@ App.upgradeWizardView = Em.View.extend({
   },
 
   pauseUpgrade: function() {
-    this.get('controller').suspendUpgrade();
-    this.get('parentView').closeWizard();
+    var self = this;
+    this.get('controller').suspendUpgrade().done(function() {
+      self.get('parentView').closeWizard();
+    });
   },
 
   /**

Reply via email to