浏览代码

HUE-1780 [dbquery] datatables disabled

Abraham Elmahrek 12 年之前
父节点
当前提交
38a09c0b84
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/rdbms/src/rdbms/templates/execute.mako

+ 1 - 1
apps/rdbms/src/rdbms/templates/execute.mako

@@ -730,7 +730,7 @@ ${ commonheader(_('Query'), app_name, user) | n,unicode }
   }
 
   function resultsTable() {
-    if (dataTable) {
+    if (!dataTable) {
       dataTable = $(".resultTable").dataTable({
         "bPaginate": false,
         "bLengthChange": false,