File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,12 @@ protected function getHtmlBuilder(): Builder
4444
4545 $ this ->htmlBuilder = app (Builder::class);
4646
47- $ this ->htmlBuilder ->postAjax ($ this ->ajax ());
47+ $ this ->htmlBuilder
48+ ->postAjax ($ this ->ajax ())
49+ ->setTableId ($ this ->tableId )
50+ ->selectSelector ()
51+ ->selectStyleOs ()
52+ ->addScript ('datatables::functions.batch_remove ' );
4853
4954 $ this ->options ($ this ->htmlBuilder );
5055
@@ -65,11 +70,7 @@ protected function getHtmlBuilder(): Builder
6570
6671 public function handle (): Builder
6772 {
68- return $ this ->getHtmlBuilder ()
69- ->setTableId ($ this ->tableId )
70- ->selectSelector ()
71- ->selectStyleOs ()
72- ->addScript ('datatables::functions.batch_remove ' );
73+ return $ this ->getHtmlBuilder ();
7374 }
7475
7576 public function setHtmlBuilder (Builder $ builder ): static
You can’t perform that action at this time.
0 commit comments