mirror of https://github.com/apache/superset.git
Update sql.js to fix a invalid error msg (#621)
when using sql.html page to run sql directly, for any SELECT * sql, when click run! button for the second time, the page will show error msg like: DataTables warning: table id={id} - Cannot reinitialise DataTable. this can be fix by:https://datatables.net/manual/tech-notes/3#retrieve
This commit is contained in:
parent
5de8740a38
commit
77c5c9400a
|
@ -89,6 +89,7 @@ $(document).ready(function () {
|
|||
$('#results').html(data);
|
||||
|
||||
$('table.sql_results').DataTable({
|
||||
retrieve: true,
|
||||
paging: false,
|
||||
searching: true,
|
||||
aaSorting: []
|
||||
|
|
Loading…
Reference in New Issue