[Lada-commits] [PATCH 1 of 4] Probe and Messung window are now maximizable and collapsible

Wald Commits scm-commit at wald.intevation.org
Tue Dec 16 13:22:56 CET 2014


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1418732244 -3600
# Node ID 8818becb8cded7e79a12658f93f23250cd0ab000
# Parent  83a98b61546a7ec74b4ef97264b1ce21e4fd721a
Probe and Messung window are now maximizable and collapsible.

diff -r 83a98b61546a -r 8818becb8cde app/view/messungen/Edit.js
--- a/app/view/messungen/Edit.js	Mon Dec 15 10:50:32 2014 +0100
+++ b/app/view/messungen/Edit.js	Tue Dec 16 13:17:24 2014 +0100
@@ -16,7 +16,9 @@
         'Lada.view.messungen.EditForm'
     ],
 
-    title: 'Maske für Messungen',
+    collapsible: true,
+    maximizable: true,
+    title: 'Messung',
     autoShow: true,
     layout: 'fit',
 
diff -r 83a98b61546a -r 8818becb8cde app/view/proben/Edit.js
--- a/app/view/proben/Edit.js	Mon Dec 15 10:50:32 2014 +0100
+++ b/app/view/proben/Edit.js	Tue Dec 16 13:17:24 2014 +0100
@@ -17,12 +17,15 @@
         'Lada.view.proben.EditForm'
     ],
 
-    title: 'Maske für §3-Proben',
+    collapsible: true,
+    maximizable: true,
     autoShow: true,
     autoScroll: true,
     layout: 'fit',
 
     initComponent: function() {
+        var probe = Ext.StoreManager.get('ProbenList').getById(this.modelId);
+        this.title = '§3-Probe ' + probe.get('probeIdAlt');
         this.buttons = [{
             text: 'Speichern',
             action: 'save'
diff -r 83a98b61546a -r 8818becb8cde index.html
--- a/index.html	Mon Dec 15 10:50:32 2014 +0100
+++ b/index.html	Tue Dec 16 13:17:24 2014 +0100
@@ -15,7 +15,7 @@
     <link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all-gray.css">
     <!-- <x-compile> -->
     <!-- <x-bootstrap> -->
-    <script type="text/javascript" src="extjs/ext-all-dev.js"></script>
+    <script type="text/javascript" src="extjs/ext-all-debug.js"></script>
     <!-- </x-bootstrap> -->
     <script type="text/javascript" src="app.js"></script>
     <!-- </x-compile> -->


More information about the Lada-commits mailing list