[Lada-commits] [PATCH 1 of 2] Load Probenzusatzwerte on editing a Probe. Values are needed in the
Wald Commits
scm-commit at wald.intevation.org
Wed Jun 26 10:19:00 CEST 2013
# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1372234570 -7200
# Node ID e80a9114524cbb6758b7cfc75b676be1616dba8b
# Parent 1620d02d29731176d7fed6d6f1288631e0b96791
Load Probenzusatzwerte on editing a Probe. Values are needed in the
Zusatzwertlisting.
diff -r 1620d02d2973 -r e80a9114524c app/controller/Proben.js
--- a/app/controller/Proben.js Tue Jun 25 17:33:56 2013 +0200
+++ b/app/controller/Proben.js Wed Jun 26 10:16:10 2013 +0200
@@ -6,11 +6,11 @@
],
stores: [
'Proben',
- 'Zusatzwerte'
+ 'Zusatzwerte',
+ 'Probenzusatzwerte'
// 'Orte',
// 'Messungen',
// 'Messeinheit',
- // 'Probenzusatzwert'
],
init: function() {
console.log('Initialising the Proben controller');
@@ -43,6 +43,8 @@
var view = Ext.widget('probenedit', {modelId: id});
// Load Zusatzwerte
+ var pstore = this.getProbenzusatzwerteStore();
+ pstore.load();
var zstore = this.getZusatzwerteStore();
zstore.load({
params: {
More information about the Lada-commits
mailing list