FE:shortcuts,monacoeditor for stratvars

This commit is contained in:
David Brazda
2023-09-19 14:07:12 +02:00
parent c05a1d0936
commit 2838c277dc
7 changed files with 235 additions and 48 deletions

View File

@ -119,6 +119,9 @@ $(document).ready(function () {
//delete button
$('#button_delete_arch').click(function () {
rows = archiveRecords.rows('.selected');
if (rows == undefined) {
return
}
$('#listofids').html("");
if(rows.data().length > 0 ) {
@ -138,6 +141,9 @@ $(document).ready(function () {
//edit button
$('#button_edit_arch').click(function () {
row = archiveRecords.row('.selected').data();
if (rows == undefined) {
return
}
window.$('#editModalArchive').modal('show');
$('#editidarchive').val(row.id);
$('#editnote').val(row.note);