www/js/rec_edit.js

changeset 79
f3adf543f698
parent 73
454fc4558609
child 85
ca7a37586551
--- a/www/js/rec_edit.js	Wed Nov 07 14:42:25 2018 +0100
+++ b/www/js/rec_edit.js	Wed Nov 07 16:25:05 2018 +0100
@@ -1236,6 +1236,13 @@
 
 	calcInit();
 
+	$("#Print").jqxButton({ template: "info", width: '80px', theme: theme });
+	$("#Print").click(function () {
+		// Open print in a new tab.
+		var url="rec_print.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