www/js/rec_edit.js

changeset 79
f3adf543f698
parent 73
454fc4558609
child 85
ca7a37586551
equal deleted inserted replaced
78:f35a38e8c16f 79:f3adf543f698
1234 position: 'top' 1234 position: 'top'
1235 }); 1235 });
1236 1236
1237 calcInit(); 1237 calcInit();
1238 1238
1239 $("#Print").jqxButton({ template: "info", width: '80px', theme: theme });
1240 $("#Print").click(function () {
1241 // Open print in a new tab.
1242 var url="rec_print.php?record=" + my_record;
1243 window.open(url);
1244 });
1245
1239 $("#Delete").jqxButton({ template: "danger", width: '80px', theme: theme }); 1246 $("#Delete").jqxButton({ template: "danger", width: '80px', theme: theme });
1240 $("#Delete").click(function () { 1247 $("#Delete").click(function () {
1241 // Open a popup to confirm this action. 1248 // Open a popup to confirm this action.
1242 $('#eventWindow').jqxWindow('open'); 1249 $('#eventWindow').jqxWindow('open');
1243 $("#delOk").click(function () { 1250 $("#delOk").click(function () {

mercurial