mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
* Calendar - Open timesheet from recurring event on selected occurence instead of first occurence
This commit is contained in:
parent
67d8166b27
commit
bc43d93950
@ -933,7 +933,7 @@ class calendar_uiviews extends calendar_ui
|
||||
}
|
||||
if ($actions['timesheet'])
|
||||
{
|
||||
$actions['timesheet']['open'] = '{"app": "timesheet", "type": "add", "extra": "link_app[]=$app&link_id[]=$id"}';
|
||||
$actions['timesheet']['open'] = '{"app": "timesheet", "type": "add", "extra": "link_app[]=$app&link_id[]=$app_id"}';
|
||||
$actions['timesheet']['onExecute'] = 'javaScript:app.calendar.action_open';
|
||||
}
|
||||
if ($actions['documents'])
|
||||
|
@ -373,6 +373,10 @@ class timesheet_ui extends timesheet_bo
|
||||
}
|
||||
break;
|
||||
}
|
||||
if($link_app == 'calendar')
|
||||
{
|
||||
list($link_id) = explode(':', $link_id);
|
||||
}
|
||||
Link::link(TIMESHEET_APP,$content['link_to']['to_id'],$link_app,$link_id);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user