From 811a12604f88d1f68c03c3e2618eb17efde884d3 Mon Sep 17 00:00:00 2001 From: Grace Guo Date: Mon, 25 Sep 2017 17:42:53 -0700 Subject: [PATCH] try to fix problem that chrome window not opening after ajax requrest --- superset/assets/javascripts/SqlLab/actions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/superset/assets/javascripts/SqlLab/actions.js b/superset/assets/javascripts/SqlLab/actions.js index 6438226e74a76..e5563020b674d 100644 --- a/superset/assets/javascripts/SqlLab/actions.js +++ b/superset/assets/javascripts/SqlLab/actions.js @@ -413,6 +413,7 @@ export function createDatasource(vizOptions, context) { return $.ajax({ type: 'POST', url: '/superset/sqllab_viz/', + async: false, data: { data: JSON.stringify(vizOptions), },