[Lada-commits] [PATCH 4 of 6] Restored Beschreibung Field
Wald Commits
scm-commit at wald.intevation.org
Fri Jul 17 15:54:57 CEST 2015
# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1437139086 -7200
# Node ID 6451d095ff4e0b7f22ba76a710bba24fc33d8f53
# Parent 13c0e64e1873bb11c1becbac0cb9a57f6573cdb9
Restored Beschreibung Field
diff -r 13c0e64e1873 -r 6451d095ff4e app/view/form/Location.js
--- a/app/view/form/Location.js Fri Jul 17 15:10:30 2015 +0200
+++ b/app/view/form/Location.js Fri Jul 17 15:18:06 2015 +0200
@@ -59,6 +59,13 @@
}],
items: [{
xtype: 'tfield',
+ maxLength: 100,
+ name: 'beschreibung',
+ fieldLabel: 'Beschreibung',
+ width: 280,
+ labelWidth: 80
+ }, {
+ xtype: 'tfield',
maxLength: 10,
name: 'bezeichnung',
fieldLabel: 'Bezeichnung',
@@ -143,6 +150,7 @@
},
clearMessages: function() {
+ this.down('tfield[name=beschreibung]').clearWarningOrError();
this.down('tfield[name=bezeichnung]').clearWarningOrError();
this.down('staat[name=staatId]').clearWarningOrError();
this.down('verwaltungseinheit[name=verwaltungseinheitId]').clearWarningOrError();
@@ -152,6 +160,7 @@
},
setReadOnly: function(value) {
+ this.down('tfield[name=beschreibung]').setReadOnly(value);
this.down('tfield[name=bezeichnung]').setReadOnly(value);
this.down('staat[name=staatId]').setReadOnly(value);
this.down('verwaltungseinheit[name=verwaltungseinheitId]').setReadOnly(value);
More information about the Lada-commits
mailing list