Sfoglia il codice sorgente

avoid 'error reinitializing datatable' alert

chemi ledon 6 anni fa
parent
commit
ab16497889
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      app/views/sales/sales_reserved.html.erb

+ 2 - 1
app/views/sales/sales_reserved.html.erb

@@ -269,7 +269,8 @@
           [20, 50, 75, 100, "Todos"] // change per page values here
         ],
         "pageLength": 20,
-        "bServerSide": false
+        "bServerSide": false,
+        "bDestroy": true
     });
   });