ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject [2/2] ignite git commit: IGNITE-843 Minor fix.
Date Wed, 02 Dec 2015 07:19:51 GMT
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 <anovikov@gridgain.com>
Authored: Wed Dec 2 14:19:39 2015 +0700
Committer: Andrey <anovikov@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';
 


Mime
View raw message