Mercurial > lada > lada-client
diff app/view/orte/List.js @ 513:6de00657cd87
Moved alll list toolbars to bottom and buttons to the right.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 16 Dec 2014 13:19:18 +0100 |
parents | 1643d74a40bb |
children | de1acaf21db3 |
line wrap: on
line diff
--- a/app/view/orte/List.js Tue Dec 16 13:17:24 2014 +0100 +++ b/app/view/orte/List.js Tue Dec 16 13:19:18 2014 +0100 @@ -29,17 +29,15 @@ clicksToMoveEditor: 1, autoCancel: false }); - this.plugins = [rowEditing]; - this.store = Ext.data.StoreManager.get('Orte'); if (!this.store) { this.store = Ext.create('Lada.store.Orte'); } this.dockedItems = [{ xtype: 'toolbar', - dock: 'top', - items: [{ + dock: 'bottom', + items: ['->', { text: 'Hinzufügen', icon: 'gfx/list-add.png', action: 'add', @@ -86,7 +84,7 @@ var gemid = record.get('gemId'); var record2 = gemeinden.getById(gemid); return record2.get('bezeichnung'); - }, + } //editor: { // allowBlank: false //} @@ -97,7 +95,7 @@ var store = Ext.getStore('staOrte'); var record = store.getById(value); return record.get('bezeichnung'); - }, + } //editor: { // allowBlank: false //}