diff --git a/caravel/assets/javascripts/explore/explore.jsx b/caravel/assets/javascripts/explore/explore.jsx index 79aff8fe3b902..a6e818bc401cb 100644 --- a/caravel/assets/javascripts/explore/explore.jsx +++ b/caravel/assets/javascripts/explore/explore.jsx @@ -65,6 +65,7 @@ function query(forceUpdate, pushState) { $('.query-and-save button').attr('disabled', 'disabled'); if (force) { // Don't hide the alert message when the page is just loaded $('div.alert').remove(); + updateUI(); } $('#is_cached').hide(); prepForm(); @@ -356,6 +357,10 @@ function initComponents() { ); } +function updateUI() { + window.location.reload(); +} + $(document).ready(function () { const data = $('.slice').data('slice');