diff app/controller/FilterResult.js @ 755:3637c453f67d

Enabled Creation of a Messprogramm, an empty Window is now shown. The save operation leads to a E 500
author Dustin Demuth <dustin@intevation.de>
date Wed, 06 May 2015 10:27:58 +0200
parents 6b0d0e62f7d7
children b7484c7da2d4
line wrap: on
line diff
--- a/app/controller/FilterResult.js	Tue May 05 17:22:38 2015 +0200
+++ b/app/controller/FilterResult.js	Wed May 06 10:27:58 2015 +0200
@@ -27,6 +27,9 @@
             'filterresultgrid toolbar button[action=addProbe]': {
                 click: this.addProbeItem
             },
+            'filterresultgrid toolbar button[action=addMessprogramm]': {
+                click: this.addMessprogrammItem
+            },
             'filterresultgrid toolbar button[action=import]': {
                 click: this.uploadFile
             },
@@ -87,8 +90,9 @@
      * {@link Lada.view.window.MessprogrammCreate}
      */
     addMessprogrammItem: function() {
-        // TODO
-        console.log('implement me.')
+        var win = Ext.create('Lada.view.window.MessprogrammCreate');
+        win.show();
+        win.initData();
     },
 
     /**

http://lada.wald.intevation.org