Fri, 05 Aug 2022 10:44:59 +0200
Just one button to close the viewer
www/js/rec_edit.js | file | annotate | diff | comparison | revisions | |
www/rec_edit.php | file | annotate | diff | comparison | revisions |
--- 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; - }); });
--- 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 @@ </tr> </table> <div style="float: right; margin-top: 30px; margin-bottom: 10px;"> - <input style="margin-right: 100px;" type="button" id="Save" value="Save" /> - <input style="margin-right: 320px;" type="button" id="Cancel" value="Cancel" /> + <input style="margin-right: 600px;" type="button" id="Terug" value="Terug" /> </div> </div> </div> <!-- tab algemeen -->