Also show database ID in tooltip.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-12-17 11:35:57 +00:00
parent 18682eb61d
commit 232cfdb326
4 changed files with 26 additions and 19 deletions

View File

@@ -74,17 +74,17 @@ $(document).ready(function() {
$("#desc", row).val(desc);
let button =
'<button class="btn btn-success btn-xs editGroup" type="button" data-id=\'' +
'<button class="btn btn-success btn-xs editGroup" type="button" data-id="' +
data.id +
"'>" +
'">' +
'<span class="glyphicon glyphicon-pencil"></span>' +
"</button>";
if (data.id !== 0) {
button +=
" &nbsp;" +
'<button class="btn btn-danger btn-xs deleteGroup" type="button" data-id=\'' +
'<button class="btn btn-danger btn-xs deleteGroup" type="button" data-id="' +
data.id +
"'>" +
'">' +
'<span class="glyphicon glyphicon-trash"></span>' +
"</button>";
}