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 () { |