diff app/controller/grid/Status.js @ 1000:5beb2581a989

A fix which is supposed to reload the statuswerte store, when the Add button is used
author Dustin Demuth <dustin@intevation.de>
date Wed, 13 Jan 2016 15:19:42 +0100
parents 4bbb3da88c14
children e92931b8f6b0
line wrap: on
line diff
--- a/app/controller/grid/Status.js	Mon Jan 11 11:36:35 2016 +0100
+++ b/app/controller/grid/Status.js	Wed Jan 13 15:19:42 2016 +0100
@@ -95,6 +95,8 @@
         var s = button.up('window').down('messungform').getRecord().get('status');
         var recentStatus = button.up('statusgrid').store.getById(s);
 
+        button.up('statusgrid').reload();
+
         //If possible copy the previous record into the new one.
         //this assumes the store is ordered correctly, most recent status last.
         // Do not copy, if current userid differs from the id of the current status

http://lada.wald.intevation.org