diff app/view/widget/Netzbetreiber.js @ 1183:287ce20bb1cb schema-update

Set the netzbetreiber and set netzbetreiber widget to a non-form field.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 31 Aug 2016 15:57:49 +0200
parents 356941a04ba0
children
line wrap: on
line diff
--- a/app/view/widget/Netzbetreiber.js	Wed Aug 31 15:56:07 2016 +0200
+++ b/app/view/widget/Netzbetreiber.js	Wed Aug 31 15:57:49 2016 +0200
@@ -17,6 +17,8 @@
     valueField: 'id',
     editable: this.editable || false,
     readOnly: this.readOnly,
+    isFormField: this.isFormField,
+    submitValue: this.submitValue,
     // Enable filtering of comboboxes
     queryMode: 'local',
     triggerAction: 'all',
@@ -35,6 +37,8 @@
             this.store.clearFilter();
         }
         this.callParent(arguments);
+        this.down('combobox').isFormField = false;
+        this.down('combobox').submitValue = false;
     },
 
     getValue: function() {

http://lada.wald.intevation.org