www/js/inv_fermentables.js

changeset 395
463d64cce768
parent 376
1de1623e1760
child 477
7952f9331fd1
--- a/www/js/inv_fermentables.js	Tue Jun 04 16:37:58 2019 +0200
+++ b/www/js/inv_fermentables.js	Tue Jun 04 16:38:53 2019 +0200
@@ -385,9 +385,9 @@
 			$('#jqxgrid').jqxGrid('updaterow', rowID, row);
 		} else {
 			$('#jqxgrid').jqxGrid('addrow', null, row);
+			location.reload( true );	// reload ourself.
 		}
 		$("#popupWindow").jqxWindow('hide');
-		location.reload( true );	// reload ourself.
 	});
 	createDelElements();
 });

mercurial