You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/06/27 22:16:47 UTC
ambari git commit: AMBARI-12186. Incorrect behavior of operations
during enabling NN HA (alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/trunk d90a101c2 -> e66455398
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/e6645539
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e6645539
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e6645539
Branch: refs/heads/trunk
Commit: e664553984ad2188aceabebb916622a1de52fea4
Parents: d90a101
Author: Alex Antonenko <hi...@gmail.com>
Authored: Sat Jun 27 22:56:55 2015 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Sat Jun 27 22:56:55 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/e6645539/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);
},