diff -r d0f7b4ab000f -r 98c2afc88780 www/js/rec_edit.js --- a/www/js/rec_edit.js Thu Feb 28 22:50:58 2019 +0100 +++ b/www/js/rec_edit.js Fri Mar 01 14:29:09 2019 +0100 @@ -3678,8 +3678,8 @@ $("#Export").jqxButton({ template: "info", width: '80px', theme: theme }); $("#Export").click(function () { saveRecord(); - var url="rec_beerxml.php?record=" + my_record; - window.open(url); + var url="rec_export.php?record=" + my_record + "&return=" + my_return + "&name=" + dataRecord.name; + window.location.href = url; }); $("#Delete").jqxButton({ template: "danger", width: '80px', theme: theme });