... and sets multipleEditRequiredRight again
https://forge.tine20.org/view.php?id=12190
Change-Id: I6cf3141ab5740cf03c833d8b89a097536f81c36d
Reviewed-on: http://gerrit.tine20.com/customers/3550
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
*/
Tine.Timetracker.TimesheetGridPanel = Ext.extend(Tine.widgets.grid.GridPanel, {
+ /**
+ * activates copy action
+ */
+ copyEditAction: true,
+
+ /**
+ * only allow multi edit with manage_timeaccounts right (because of timeaccount handling in edit dlg)
+ */
+ multipleEditRequiredRight: 'manage_timeaccounts',
+
initComponent: function() {
this.defaultFilters = [
{field: 'start_date', operator: 'within', value: 'weekThis'},