diff app/view/grid/Probenehmer.js @ 1074:ca204e91012f

Enable add-Button only if the user is authorized.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 07 Apr 2016 14:02:51 +0200
parents 4db4902d11c8
children d23427c68285
line wrap: on
line diff
--- a/app/view/grid/Probenehmer.js	Thu Apr 07 12:29:10 2016 +0200
+++ b/app/view/grid/Probenehmer.js	Thu Apr 07 14:02:51 2016 +0200
@@ -179,7 +179,6 @@
         if (store) {
             this.removeDocked(Ext.getCmp('ptbar'), true);
             this.reconfigure(store);
-            this.down('button[action=add]').enable();
             this.addDocked([{
                 xtype: 'pagingtoolbar',
                 id: 'ptbar',

http://lada.wald.intevation.org