diff -r de4a74899969 -r 5714ea86187d www/js/rec_main.js
--- a/www/js/rec_main.js Fri Aug 05 10:44:59 2022 +0200
+++ b/www/js/rec_main.js Fri Aug 05 10:53:56 2022 +0200
@@ -48,19 +48,6 @@
source: dataAdapter,
groupable: true,
theme: theme,
- showstatusbar: true,
- renderstatusbar: function(statusbar) {
- var addButton, container = $("
");
- addButton = $('Add ');
- container.append(addButton);
- statusbar.append(container);
- addButton.jqxButton({ theme: theme, width: 100, height: 20 });
- // add new recipe.
- addButton.click(function(event) {
- window.location.href = 'rec_new.php?return=rec_main.php';
- });
- },
filterable: true,
filtermode: 'excel',
columns: [
@@ -76,7 +63,7 @@
return 'Bekijk';
}, buttonclick: function(row) {
var datarecord = dataAdapter.records[row];
- window.location.href = 'rec_edit.php?record=' + datarecord.record + '&return=rec_main.php';
+ window.location.href = 'rec_view.php?record=' + datarecord.record + '&return=rec_main.php';
}
}
],