www/js/profile_styles.js

changeset 286
124af734af68
parent 245
3649c3d31d15
child 311
f6fafccd8a6d
--- a/www/js/profile_styles.js	Sat Feb 23 22:56:35 2019 +0100
+++ b/www/js/profile_styles.js	Sun Feb 24 17:23:52 2019 +0100
@@ -130,7 +130,6 @@
 			});
 		}
 	};
-	var srcType = [ "Lager", "Ale", "Mead", "Wheat", "Mixed", "Cider" ];
 	// initialize the input fields.
 	$("#name").jqxInput({ theme: theme, width: 320, height: 23 });
 	$("#category").jqxInput({ theme: theme, width: 320, height: 23 });
@@ -180,7 +179,6 @@
 		source: dataAdapter,
 		theme: theme,
 		showstatusbar: true,
-		localization: getLocalization(),
 		renderstatusbar: function (statusbar) {
 			var container = $("<div style='overflow: hidden; position: relative; margin: 5px;'></div>");
 			var addButton = $("<div style='float: right; margin-right: 15px;'><img style='position: relative; margin-top: 2px;' src='images/add.png'/><span style='margin-left: 4px; position: relative; top: -3px;'>Nieuw</span></div>");
@@ -232,7 +230,7 @@
 			{ text: 'Co2', menu: false, datafield: 'carb_max', width: 60, align: 'right', cellsalign: 'right', cellsformat: 'f1' },
 			{ text: 'ABV', menu: false, datafield: 'abv_min', width: 60, align: 'right', cellsalign: 'right', cellsformat: 'f1' },
 			{ text: 'ABV', menu: false, datafield: 'abv_max', width: 60, align: 'right', cellsalign: 'right', cellsformat: 'f1' },
-			{ text: 'Wijzig', menu: false, datafield: 'Edit', width: 100, align: 'center', columntype: 'button', cellsrenderer: function () {
+			{ text: '', menu: false, datafield: 'Edit', width: 100, align: 'center', columntype: 'button', cellsrenderer: function () {
 				return "Wijzig";
 				}, buttonclick: function (row) {
 					// open the popup window when the user clicks a button.

mercurial