Browse Source

avoid 'error reinitializing datatable' alert

chemi ledon 6 năm trước cách đây
mục cha
commit
ab16497889
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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
     });
   });