# HG changeset patch # User Torsten Irländer # Date 1370014113 -7200 # Node ID f7d40f8a6902d17cfa7178ea2ad1ba6ee9712c06 # Parent 2d6c4f4c9b110b2cb2a213629d5e6ae53b22c1c5 Added toolbar on the top of the proben listing. diff -r 2d6c4f4c9b11 -r f7d40f8a6902 app/view/proben/List.js --- 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},