ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [1/2] ignite git commit: IGNITE-843 Fixed possible modal show.
Date Fri, 12 Feb 2016 11:04:54 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc3 c680addc9 -> 3eb0be4c0


IGNITE-843 Fixed possible modal show.


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

Branch: refs/heads/ignite-843-rc3
Commit: 49b4b9aba9bc7241a9823dbf48977bd528647e2c
Parents: c680add
Author: Andrey <anovikov@gridgain.com>
Authored: Fri Feb 12 17:40:47 2016 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Fri Feb 12 17:40:47 2016 +0700

----------------------------------------------------------------------
 .../control-center-web/src/main/js/controllers/common-module.js  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/49b4b9ab/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 758fab0..585cd1a 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
@@ -2121,7 +2121,7 @@ consoleModule.service('$agentDownload', [
                 _modal.skipSingleError = false;
             else if (!_modal.$isShown) {
                 // Don't show missing node dialog on SQL demo enabling.
-                if (_modal.check.params && _modal.check.params.demo && timedOut)
+                if (_modal.check.params && _modal.check.params.demo && timedOut
|| !_modal.updatePromise)
                     return;
 
                 $loading.finish('loading');
@@ -2158,6 +2158,8 @@ consoleModule.service('$agentDownload', [
          */
         function _stopInterval() {
             $interval.cancel(_modal.updatePromise);
+
+            _modal.updatePromise = null;
         }
 
         /**


Mime
View raw message