mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
Admin: Fix customfields UI did not use edit() from extending class
This commit is contained in:
parent
175c1fe369
commit
9463a0f395
@ -529,19 +529,20 @@ class admin_customfields
|
||||
*/
|
||||
protected function get_actions()
|
||||
{
|
||||
$edit = $this->appname . '.' . get_class($this) . '.edit';
|
||||
$actions = array(
|
||||
'open' => array( // does edit if allowed, otherwise view
|
||||
'caption' => 'Open',
|
||||
'default' => true,
|
||||
'allowOnMultiple' => false,
|
||||
'url' => 'menuaction=admin.admin_customfields.edit&cf_id=$id&use_private='.$this->use_private,
|
||||
'url' => 'menuaction='.$edit.'&cf_id=$id&use_private='.$this->use_private,
|
||||
'popup' => '500x380',
|
||||
'group' => $group=1,
|
||||
'disableClass' => 'th',
|
||||
),
|
||||
'add' => array(
|
||||
'caption' => 'Add',
|
||||
'url' => 'menuaction=admin.admin_customfields.edit&appname='.$this->appname.'&use_private='.$this->use_private,
|
||||
'url' => 'menuaction='.$edit.'&appname='.$this->appname.'&use_private='.$this->use_private,
|
||||
'popup' => '500x380',
|
||||
'group' => $group,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user