diff app/view/proben/Edit.js @ 144:7b1140bd8b3d

Re-Added Kommentare
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 01 Jul 2013 10:15:00 +0200
parents a7bfaeb1655d
children 0d6552bb28ea
line wrap: on
line diff
--- a/app/view/proben/Edit.js	Fri Jun 28 11:16:44 2013 +0200
+++ b/app/view/proben/Edit.js	Mon Jul 01 10:15:00 2013 +0200
@@ -16,34 +16,6 @@
         // creation of this window. We need to pass it throuh to the form as
         // we need the "modelId" param to load the correct item.
         var form = Ext.create('Lada.view.proben.EditForm', this.initialConfig);
-        /// Load kommentare
-        ////var record = form.getRecord();
-        //var kommentare = form.down('kommentarelist'); //form.down('kommentare');
-        //var kstore = kommentare.getStore();
-        //kstore.load({
-        //    params: {
-        //        probe: this.initialConfig['modelId']
-        //        //probe: record.data['probeId']
-        //    }
-        //});
-        //// Load Orte
-        //var orte = form.down('ortelist');
-        //var ostore = orte.getStore();
-        //ostore.load({
-        //    params: {
-        //        probe: this.initialConfig['modelId']
-        //        //probe: record.data['probeId']
-        //    }
-        //});
-        //// Load Messungen 
-        //var messungen = form.down('messungenlist');
-        //var mstore = messungen.getStore();
-        //mstore.load({
-        //    params: {
-        //        probe: this.initialConfig['modelId']
-        //        //probe: record.data['probeId']
-        //    }
-        //});
         this.items = [form];
         this.buttons = [
             {

http://lada.wald.intevation.org