You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2019/01/11 08:57:08 UTC
[ignite] branch master updated: IGNITE-10613 Web console: Fixed
opening of "Import models" dialog after cancel of "Unsaved changes"
confirmation dialog.
This is an automated email from the ASF dual-hosted git repository.
akuznetsov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new e2cdfae IGNITE-10613 Web console: Fixed opening of "Import models" dialog after cancel of "Unsaved changes" confirmation dialog.
e2cdfae is described below
commit e2cdfae5313e222144f8f16448ab06f746ad2fd0
Author: Vasiliy Sisko <vs...@gridgain.com>
AuthorDate: Fri Jan 11 15:56:50 2019 +0700
IGNITE-10613 Web console: Fixed opening of "Import models" dialog after cancel of "Unsaved changes" confirmation dialog.
---
.../page-configure/components/modal-import-models/service.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/web-console/frontend/app/components/page-configure/components/modal-import-models/service.js b/modules/web-console/frontend/app/components/page-configure/components/modal-import-models/service.js
index c45abaa..a76ec13 100644
--- a/modules/web-console/frontend/app/components/page-configure/components/modal-import-models/service.js
+++ b/modules/web-console/frontend/app/components/page-configure/components/modal-import-models/service.js
@@ -48,7 +48,11 @@ export default class ModalImportModels {
}
});
- return this.$uiRouter.stateService.go(this._state, this.$uiRouter.stateService.params);
+ return this.$uiRouter.stateService.go(this._state, this.$uiRouter.stateService.params)
+ .catch(() => {
+ this.deferred.reject(false);
+ this.deferred = null;
+ });
}
_open() {