www/js/prod_edit.js

changeset 177
325bd6425978
parent 172
684c651dd165
child 223
0de4455bd2a1
--- a/www/js/prod_edit.js	Sun Jan 06 19:31:59 2019 +0100
+++ b/www/js/prod_edit.js	Sun Jan 06 23:30:17 2019 +0100
@@ -3356,6 +3356,13 @@
 		window.open(url);
 	});
 
+	$("#Export").jqxButton({ template: "info", width: '80px', theme: theme });
+	$("#Export").click(function () {
+		// Open print in a new tab.
+		var url="prod_export.php?record=" + my_record;
+		window.open(url);
+	});
+
 	$("#Delete").jqxButton({ template: "danger", width: '80px', theme: theme });
 	$("#Delete").click(function () {
 		// Open a popup to confirm this action.

mercurial