changeset 63:f7d40f8a6902

Added toolbar on the top of the proben listing.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 31 May 2013 17:28:33 +0200
parents 2d6c4f4c9b11
children a4a24e737deb
files app/view/proben/List.js
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/proben/List.js	Fri May 31 13:31:18 2013 +0200
+++ b/app/view/proben/List.js	Fri May 31 17:28:33 2013 +0200
@@ -11,6 +11,19 @@
         deferEmptyText: false
     },
     initComponent: function() {
+        this.dockedItems = [
+            {
+                xtype: 'toolbar',
+                dock: 'top',
+                items: [
+                    {
+                        text: 'Hinzufügen',
+                        icon: 'gfx/plus.gif',
+                        action: 'add'
+                    }
+                ]
+            }
+        ];
         this.columns = [
             {header: 'Datenbasis',  dataIndex: 'datenbasisId', width: 70},
             {header: 'MPL',  dataIndex: 'mplId', width: 50},

http://lada.wald.intevation.org