www/js/rec_edit.js

changeset 175
da16371538c3
parent 168
ce92dc75cb09
child 220
14e349ff2a10
--- a/www/js/rec_edit.js	Sat Jan 05 17:26:07 2019 +0100
+++ b/www/js/rec_edit.js	Sun Jan 06 17:28:48 2019 +0100
@@ -2722,6 +2722,13 @@
 		window.open(url);
 	});
 
+	$("#Export").jqxButton({ template: "info", width: '80px', theme: theme });
+	$("#Export").click(function () {
+		// Open print in a new tab.
+		var url="rec_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