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/03/20 00:41:28 UTC
[6/6] ambari git commit: AMBARI-10136. Web Client Continues To Make
Requests After Logout (alexantonenko)
AMBARI-10136. Web Client Continues To Make Requests After Logout (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/dc654031
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/dc654031
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/dc654031
Branch: refs/heads/trunk
Commit: dc6540318d14f8d8ead089de5707374d4d744b35
Parents: 594fab6
Author: Alex Antonenko <hi...@gmail.com>
Authored: Thu Mar 19 22:56:38 2015 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Fri Mar 20 01:40:59 2015 +0200
----------------------------------------------------------------------
ambari-web/app/controllers/wizard/step9_controller.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/dc654031/ambari-web/app/controllers/wizard/step9_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step9_controller.js b/ambari-web/app/controllers/wizard/step9_controller.js
index 1323451..e1bb090 100644
--- a/ambari-web/app/controllers/wizard/step9_controller.js
+++ b/ambari-web/app/controllers/wizard/step9_controller.js
@@ -196,7 +196,9 @@ App.WizardStep9Controller = Em.Controller.extend({
if (self.get('currentOpenTaskId')) {
self.loadCurrentTaskLog();
}
- self.doPolling();
+ if (App.router.loggedIn) {
+ self.doPolling();
+ }
}, this.get('POLL_INTERVAL'));
}
},