fixed not updated sidebox in calendar listview

This commit is contained in:
Ralf Becker 2013-12-12 23:32:30 +00:00
parent 01adf460f3
commit 9c3c077314
2 changed files with 3 additions and 3 deletions

View File

@ -197,7 +197,7 @@ class etemplate_new extends etemplate_widget_template
{ {
//error_log("Ajax " . __LINE__); //error_log("Ajax " . __LINE__);
$GLOBALS['egw']->framework->response->generic("data", array('<div id="'.$dom_id.'" class="et2_container"></div>')); $GLOBALS['egw']->framework->response->generic("data", array('<div id="'.$dom_id.'" class="et2_container"></div>'));
$GLOBALS['egw']->framework->response->generic('et2_load',$load_array); $GLOBALS['egw']->framework->response->generic('et2_load',$load_array+egw_framework::get_extra());
self::$request = null; self::$request = null;
return; return;
} }

View File

@ -708,9 +708,9 @@ function etemplate2_handle_load(_type, _response)
} }
// handle framework.setSidebox calls // handle framework.setSidebox calls
if (window.framework && jQuery.isArray(data['setSidebox'])) if (window.framework && jQuery.isArray(data.setSidebox))
{ {
window.framework.setSidebox.apply(window, JSON.parse(data['setSidebox'])); window.framework.setSidebox.apply(window.framework, data.setSidebox);
} }
// regular et2 re-load // regular et2 re-load