Skip to content

Commit

Permalink
Merge pull request #3151 from emics/dev3
Browse files Browse the repository at this point in the history
Add Message alert in Advanced Logbook
  • Loading branch information
magicbug authored Jun 19, 2024
2 parents 24f3b33 + 05f4f4e commit 1c5e66e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion assets/js/sections/logbookadvanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 1c5e66e

Please sign in to comment.