This is an automated email from the ASF dual-hosted git repository.
kbhatt pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 01e4966 ATLAS-3766:- Stats modal not close issue #2
01e4966 is described below
commit 01e496604fe4491f796497ad239ff1553b67d792
Author: kevalbhatt <[email protected]>
AuthorDate: Fri Jun 5 11:14:28 2020 +0530
ATLAS-3766:- Stats modal not close issue #2
---
dashboardv2/public/js/views/site/Statistics.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dashboardv2/public/js/views/site/Statistics.js
b/dashboardv2/public/js/views/site/Statistics.js
index 868bd62..db8c92f 100644
--- a/dashboardv2/public/js/views/site/Statistics.js
+++ b/dashboardv2/public/js/views/site/Statistics.js
@@ -101,13 +101,14 @@ define(['require',
that.fetchMetricData({ update: true });
}
}]
- }).open();
-
+ });
modal.on('closeModal', function() {
modal.trigger('cancel');
});
this.modal = modal;
+ modal.open();
}
+
},
bindEvents: function() {
var that = this;