mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Formatting changes only
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
d5324bce6a
commit
8f71460fa1
|
@ -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 () {
|
$('.snipe-table').on('uncheck.bs.table', function () {
|
||||||
|
|
||||||
var buttonName = $(this).data('bulk-button-id');
|
var buttonName = $(this).data('bulk-button-id');
|
||||||
|
|
||||||
if ($(this).bootstrapTable('getSelections').length == 0) {
|
if ($(this).bootstrapTable('getSelections').length == 0) {
|
||||||
|
|
||||||
$(buttonName).attr('disabled', 'disabled');
|
$(buttonName).attr('disabled', 'disabled');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue