From 8f71460fa191cdd6de3e6dd6c6945e73cdd5462a Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 20 Feb 2024 16:43:27 +0000 Subject: [PATCH] Formatting changes only Signed-off-by: snipe --- resources/views/partials/bootstrap-table.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index 5e247b7b5b..e26c681008 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -139,12 +139,12 @@ }); - // Handle whether or not the edit button should be disabled + // Handle whether the edit button should be disabled $('.snipe-table').on('uncheck.bs.table', function () { - var buttonName = $(this).data('bulk-button-id'); if ($(this).bootstrapTable('getSelections').length == 0) { + $(buttonName).attr('disabled', 'disabled'); } });