Explorar o código

HUE-1780 [dbquery] datatables disabled

Abraham Elmahrek %!s(int64=12) %!d(string=hai) anos
pai
achega
38a09c0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,