diff app/controller/Proben.js @ 65:9e2e09e819fd

Added a new Dialog to create proben without any kommentare or other additional values.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 31 May 2013 17:40:56 +0200
parents a4a24e737deb
children cb1138f5cea7
line wrap: on
line diff
--- a/app/controller/Proben.js	Fri May 31 17:34:34 2013 +0200
+++ b/app/controller/Proben.js	Fri May 31 17:40:56 2013 +0200
@@ -2,7 +2,8 @@
     extend: 'Ext.app.Controller',
     views: [
         'proben.List',
-        'proben.Edit'
+        'proben.Edit',
+        'proben.Create'
     ],
     stores: [
         'Proben',
@@ -40,7 +41,7 @@
     },
     addProbe: function(button) {
         console.log('Adding new Probe');
-        var view = Ext.widget('probenedit');
+        var view = Ext.widget('probencreate');
         var form = view.down('form');
         // Create a new Kommentar
         var record = Ext.create('Lada.model.Probe');

http://lada.wald.intevation.org