mirror of
https://github.com/apache/superset.git
synced 2026-04-11 04:15:33 +00:00
Hack to get the force refresh in the explore view
This commit is contained in:
@@ -53,14 +53,17 @@ function prepForm() {
|
||||
});
|
||||
}
|
||||
|
||||
function druidify() {
|
||||
function druidify(force) {
|
||||
if (force === undefined) {
|
||||
force = false;
|
||||
}
|
||||
$('.query-and-save button').attr('disabled', 'disabled');
|
||||
$('.btn-group.results span,a').attr('disabled', 'disabled');
|
||||
$('div.alert').remove();
|
||||
$('#is_cached').hide();
|
||||
history.pushState({}, document.title, slice.querystring());
|
||||
prepForm();
|
||||
slice.render();
|
||||
slice.render(force, druidify);
|
||||
}
|
||||
|
||||
function initExploreView() {
|
||||
|
||||
Reference in New Issue
Block a user