Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
1073:e79403c3482e | 1074:ca204e91012f |
---|---|
177 } | 177 } |
178 | 178 |
179 if (store) { | 179 if (store) { |
180 this.removeDocked(Ext.getCmp('ptbar'), true); | 180 this.removeDocked(Ext.getCmp('ptbar'), true); |
181 this.reconfigure(store); | 181 this.reconfigure(store); |
182 this.down('button[action=add]').enable(); | |
183 this.addDocked([{ | 182 this.addDocked([{ |
184 xtype: 'pagingtoolbar', | 183 xtype: 'pagingtoolbar', |
185 id: 'ptbar', | 184 id: 'ptbar', |
186 dock: 'bottom', | 185 dock: 'bottom', |
187 store: store, | 186 store: store, |