# HG changeset patch # User Michiel Broek # Date 1659689099 -7200 # Node ID de4a7489996908f80e4ac5cfcdb4430bbd99f940 # Parent 752bb80362fba2253d663ea38b50c550b897c503 Just one button to close the viewer diff -r 752bb80362fb -r de4a74899969 www/js/rec_edit.js --- a/www/js/rec_edit.js Fri Aug 05 10:35:24 2022 +0200 +++ b/www/js/rec_edit.js Fri Aug 05 10:44:59 2022 +0200 @@ -2045,16 +2045,11 @@ position: 'top' }); - // Buttons below - - $('#Cancel').jqxButton({ template: 'primary', width: '80px', theme: theme }); - $('#Cancel').bind('click', function() { + // Button below + $('#Terug').jqxButton({ template: 'primary', width: '80px', theme: theme }); + $('#Terug').bind('click', function() { window.location.href = my_return; }); - $('#Save').jqxButton({ template: 'success', width: '80px', theme: theme }); - $('#Save').bind('click', function() { - window.location.href = my_return; - }); }); diff -r 752bb80362fb -r de4a74899969 www/rec_edit.php --- a/www/rec_edit.php Fri Aug 05 10:35:24 2022 +0200 +++ b/www/rec_edit.php Fri Aug 05 10:44:59 2022 +0200 @@ -91,8 +91,7 @@
- - +