A free open source IT asset/license management system
There was a bug with select-all where some bits didn't quite work
Brady Wetherington75a757d6f52f
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.phpindex 6766159be5..38ffde10a0 100644--- a/resources/views/partials/bootstrap-table.blade.php+++ b/resources/views/partials/bootstrap-table.blade.php@@ -129,7 +129,10 @@var tableId = $(this).data('id-table');for (var i in rowsAfter) {- $(buttonName).after('<input id="' + tableId + '_checkbox_' + rowsAfter[i].id + '" type="hidden" name="ids[]" value="' + rowsAfter[i].id + '">');+ // Do not select things that were already selected+ if($('#'+ tableId + '_checkbox_' + rowsAfter[i].id).length == 0) {+ $(buttonName).after('<input id="' + tableId + '_checkbox_' + rowsAfter[i].id + '" type="hidden" name="ids[]" value="' + rowsAfter[i].id + '">');+ }}});