[Lada-commits] [PATCH 1 of 4] Show ortsType of Ort, and not otyp of ortedetail in orte listing
Wald Commits
scm-commit at wald.intevation.org
Wed Dec 18 11:49:17 CET 2013
# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1387361090 -3600
# Node ID 683b8a3010cc4a83c1fb4b3217fa81cfd9148503
# Parent 7e73478780fee13ce801e5dd6cd37b4c37ee8456
Show ortsType of Ort, and not otyp of ortedetail in orte listing.
diff -r 7e73478780fe -r 683b8a3010cc app/view/orte/List.js
--- a/app/view/orte/List.js Mon Dec 16 14:53:41 2013 +0100
+++ b/app/view/orte/List.js Wed Dec 18 11:04:50 2013 +0100
@@ -37,12 +37,7 @@
this.columns = [
{
header: 'Typ',
- dataIndex: 'ortId',
- renderer: function(value) {
- var store = Ext.getStore('Ortedetails');
- var record = store.getById(value);
- return record.get('otyp');
- }
+ dataIndex: 'ortsTyp'
},
{
header: 'Staat',
More information about the Lada-commits
mailing list