You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2015/12/02 08:19:51 UTC

[2/2] ignite git commit: IGNITE-843 Minor fix.

IGNITE-843 Minor fix.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/7530ec1c
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/7530ec1c
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/7530ec1c

Branch: refs/heads/ignite-843-rc2
Commit: 7530ec1c996aaebe8360b59303acf0f091d7b5c1
Parents: 1297d55
Author: Andrey <an...@gridgain.com>
Authored: Wed Dec 2 14:19:39 2015 +0700
Committer: Andrey <an...@gridgain.com>
Committed: Wed Dec 2 14:19:39 2015 +0700

----------------------------------------------------------------------
 .../src/main/js/controllers/common-module.js                 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/7530ec1c/modules/control-center-web/src/main/js/controllers/common-module.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/common-module.js b/modules/control-center-web/src/main/js/controllers/common-module.js
index a126f41..649628e 100644
--- a/modules/control-center-web/src/main/js/controllers/common-module.js
+++ b/modules/control-center-web/src/main/js/controllers/common-module.js
@@ -2094,12 +2094,12 @@ consoleModule.controller('agent-download', [
          * Close dialog and go by specified link.
          */
         $scope.goBack = function () {
-            if (_agentDownloadModal.backLink)
-                $state.go(_agentDownloadModal.backLink);
-
             _stopInterval();
 
             _agentDownloadModal.hide();
+
+            if (_agentDownloadModal.backLink)
+                $state.go(_agentDownloadModal.backLink);
         };
 
         $scope.downloadAgent = function () {
@@ -2212,7 +2212,7 @@ consoleModule.controller('agent-download', [
 
             _agentDownloadModal.checkFn = checkFn;
 
-            _agentDownloadModal.backLink = '/';
+            _agentDownloadModal.backLink = 'base.configuration.clusters';
 
             $scope.agentDownloadBackTo = 'Configuration';