diff app/controller/grid/Status.js @ 1001:e92931b8f6b0

A fix which is supposed to reload the statuswerte store, when the Add button is used, part 2
author Dustin Demuth <dustin@intevation.de>
date Wed, 13 Jan 2016 15:24:56 +0100
parents 5beb2581a989
children 54179b6043b6
line wrap: on
line diff
--- a/app/controller/grid/Status.js	Wed Jan 13 15:19:42 2016 +0100
+++ b/app/controller/grid/Status.js	Wed Jan 13 15:24:56 2016 +0100
@@ -95,7 +95,7 @@
         var s = button.up('window').down('messungform').getRecord().get('status');
         var recentStatus = button.up('statusgrid').store.getById(s);
 
-        button.up('statusgrid').reload();
+        button.up('statusgrid').statusWerteStore.reload();
 
         //If possible copy the previous record into the new one.
         //this assumes the store is ordered correctly, most recent status last.

http://lada.wald.intevation.org