mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +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'])
|
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';
|
$actions['timesheet']['onExecute'] = 'javaScript:app.calendar.action_open';
|
||||||
}
|
}
|
||||||
if ($actions['documents'])
|
if ($actions['documents'])
|
||||||
|
@ -373,6 +373,10 @@ class timesheet_ui extends timesheet_bo
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if($link_app == 'calendar')
|
||||||
|
{
|
||||||
|
list($link_id) = explode(':', $link_id);
|
||||||
|
}
|
||||||
Link::link(TIMESHEET_APP,$content['link_to']['to_id'],$link_app,$link_id);
|
Link::link(TIMESHEET_APP,$content['link_to']['to_id'],$link_app,$link_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user