diff app/view/grid/DatensatzErzeuger.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 070255c0db28
children d23427c68285
line wrap: on
line diff
--- a/app/view/grid/DatensatzErzeuger.js	Thu Apr 07 12:29:10 2016 +0200
+++ b/app/view/grid/DatensatzErzeuger.js	Thu Apr 07 14:02:51 2016 +0200
@@ -151,7 +151,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