mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Fix initial load in planner sitemgr module never happened
This commit is contained in:
parent
d0eac9393a
commit
64b44f7103
@ -336,8 +336,8 @@ class module_calendar_planner extends Module
|
||||
$tmpl->exec(__METHOD__, $content,$sel_options, array('__ALL__' => true),array(),2);
|
||||
$html .= ob_get_contents();
|
||||
$html .= '<script>'
|
||||
. ' window.egw_LAB.wait(function() {jQuery(function() {'
|
||||
. 'app.calendar.set_state(' . json_encode(array(
|
||||
. '(function() {jQuery("#calendar-planner").on("load",function() {'
|
||||
. 'app.calendar.update_state(' . json_encode(array(
|
||||
'view' => 'planner',
|
||||
'planner_view' => 'month',
|
||||
'date' => Api\DateTime::to($ui->first, Api\DateTime::ET2),
|
||||
@ -345,7 +345,7 @@ class module_calendar_planner extends Module
|
||||
'sortby' => $ui->sortby,
|
||||
'filter' => $arguments['filter']
|
||||
)).');'
|
||||
. '});});'
|
||||
. '});})();'
|
||||
. '</script>';
|
||||
|
||||
ob_end_clean();
|
||||
|
Loading…
Reference in New Issue
Block a user