Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 9d1424fb8 -> 11a064ed5


AMBARI-12186. Incorrect behavior of operations during enabling NN HA 
(alexantonenko)


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

Branch: refs/heads/branch-2.1
Commit: 11a064ed5665aa0dafbc39df5b031b834ca7a356
Parents: 9d1424f
Author: Alex Antonenko <hiv...@gmail.com>
Authored: Sat Jun 27 22:56:55 2015 +0300
Committer: Alex Antonenko <hiv...@gmail.com>
Committed: Sat Jun 27 23:17:53 2015 +0300

----------------------------------------------------------------------
 .../app/mixins/wizard/wizardProgressPageController.js     | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/11a064ed/ambari-web/app/mixins/wizard/wizardProgressPageController.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/wizard/wizardProgressPageController.js 
b/ambari-web/app/mixins/wizard/wizardProgressPageController.js
index e061811..22522ef 100644
--- a/ambari-web/app/mixins/wizard/wizardProgressPageController.js
+++ b/ambari-web/app/mixins/wizard/wizardProgressPageController.js
@@ -656,13 +656,13 @@ App.wizardProgressPageControllerMixin = Em.Mixin.create({
   },
 
   showHostProgressPopup: function (event) {
-    if (!['IN_PROGRESS', 'FAILED', 'COMPLETED'].contains(Em.get(event.context, 
'status')) || !this.get('content.requestIds.length')) {
+    if (!['IN_PROGRESS', 'FAILED', 'COMPLETED'].contains(Em.get(event.context, 
'status')) || !event.contexts[0].requestIds.length) {
       return;
     }
-    var popupTitle = event.contexts[0].title;
-    var requestIds = event.contexts[0].requestIds;
-    var stageId = event.contexts[0].stageId;
-    var hostProgressPopupController = 
App.router.get('highAvailabilityProgressPopupController');
+    var popupTitle = event.contexts[0].title,
+     requestIds = event.contexts[0].requestIds,
+     stageId = event.contexts[0].stageId,
+     hostProgressPopupController = 
App.router.get('highAvailabilityProgressPopupController');
     hostProgressPopupController.initPopup(popupTitle, requestIds, this, true, 
stageId);
   },
 

Reply via email to