Merge pull request #3151 from emics/dev3

Add Message alert in Advanced Logbook
This commit is contained in:
Peter Goodhall 2024-06-19 15:42:48 +01:00 committed by GitHub
commit 1c5e66ede8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -616,7 +616,15 @@ $(document).ready(function () {
var elements = $('#qsoList tbody input:checked');
var nElements = elements.length;
if (nElements == 0) {
return;
BootstrapDialog.alert({
title: 'INFO',
message: 'Select a row from the list for Quickfilter search.',
type: BootstrapDialog.TYPE_INFO,
closable: false,
draggable: false,
callback: function (result) {
}
});
}
if (nElements > 1) {
BootstrapDialog.alert({