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:
Rocky Qi 2016-06-16 05:27:12 +08:00 committed by Maxime Beauchemin
parent 5de8740a38
commit 77c5c9400a
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ $(document).ready(function () {
$('#results').html(data);
$('table.sql_results').DataTable({
retrieve: true,
paging: false,
searching: true,
aaSorting: []