mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Added dialog to inform that you need to select at least 1 row
This commit is contained in:
@@ -2,6 +2,15 @@ function editQsos() {
|
||||
var elements = $('#qsoList tbody input:checked');
|
||||
var nElements = elements.length;
|
||||
if (nElements == 0) {
|
||||
BootstrapDialog.alert({
|
||||
title: 'INFO',
|
||||
message: 'You need to select at least 1 row to use batch edit!',
|
||||
type: BootstrapDialog.TYPE_INFO,
|
||||
closable: false,
|
||||
draggable: false,
|
||||
callback: function (result) {
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
var id_list=[];
|
||||
|
||||
Reference in New Issue
Block a user