forked from extern/egroupware
Add missing placeholder (no rows) action
This commit is contained in:
parent
b3f4b60ccf
commit
e88c3da6b8
@ -137,7 +137,8 @@ class calendar_uilist extends calendar_ui
|
|||||||
'filter_onchange' => "app.calendar.filter_change",
|
'filter_onchange' => "app.calendar.filter_change",
|
||||||
'row_id' => 'row_id', // set in get rows "$event[id]:$event[recur_date]"
|
'row_id' => 'row_id', // set in get rows "$event[id]:$event[recur_date]"
|
||||||
'row_modified' => 'modified',
|
'row_modified' => 'modified',
|
||||||
'favorites' => true
|
'favorites' => true,
|
||||||
|
'placeholder_actions' => array('add')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$content['nm']['actions'] = $this->get_actions();
|
$content['nm']['actions'] = $this->get_actions();
|
||||||
|
@ -142,6 +142,7 @@ class resources_ui
|
|||||||
$content['nm']['filter2'] = (int)$_GET['view_accs_of'];
|
$content['nm']['filter2'] = (int)$_GET['view_accs_of'];
|
||||||
}
|
}
|
||||||
$content['nm']['actions'] = $this->get_actions();
|
$content['nm']['actions'] = $this->get_actions();
|
||||||
|
$content['nm']['placeholder_actions'] = array('add');
|
||||||
|
|
||||||
// check if user is permitted to add resources
|
// check if user is permitted to add resources
|
||||||
// If they can't read any categories, they won't be able to save it
|
// If they can't read any categories, they won't be able to save it
|
||||||
|
@ -900,6 +900,7 @@ class timesheet_ui extends timesheet_bo
|
|||||||
//'actions' => $this->get_actions(),
|
//'actions' => $this->get_actions(),
|
||||||
'default_cols' => '!legacy_actions', // switch legacy actions column and row off by default
|
'default_cols' => '!legacy_actions', // switch legacy actions column and row off by default
|
||||||
'pm_integration' => $this->pm_integration,
|
'pm_integration' => $this->pm_integration,
|
||||||
|
'placeholder_actions' => array('add')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$content['nm']['actions'] = $this->get_actions($content['nm']);
|
$content['nm']['actions'] = $this->get_actions($content['nm']);
|
||||||
|
Loading…
Reference in New Issue
Block a user