mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fix not existing Api\Json\Response::isJSONRequest(), use Api\Json\Request::isJSONRequest()
This commit is contained in:
parent
42492d8ea5
commit
b41d35a0ef
@ -750,7 +750,7 @@ class calendar_uilist extends calendar_ui
|
|||||||
{
|
{
|
||||||
$success++;
|
$success++;
|
||||||
|
|
||||||
if(Api\Json\Response::isJSONRequest())
|
if(Api\Json\Request::isJSONRequest())
|
||||||
{
|
{
|
||||||
Api\Json\Response::get()->call('egw.dataStoreUID','calendar::'.$id,$this->to_client($this->bo->read($id,$recur_date)));
|
Api\Json\Response::get()->call('egw.dataStoreUID','calendar::'.$id,$this->to_client($this->bo->read($id,$recur_date)));
|
||||||
Api\Json\Response::get()->call('egw.refresh','','calendar',$id,'edit');
|
Api\Json\Response::get()->call('egw.refresh','','calendar',$id,'edit');
|
||||||
@ -774,7 +774,7 @@ class calendar_uilist extends calendar_ui
|
|||||||
if ($this->bo->set_status($event,$GLOBALS['egw_info']['user']['account_id'],$new_status,$recur_date,
|
if ($this->bo->set_status($event,$GLOBALS['egw_info']['user']['account_id'],$new_status,$recur_date,
|
||||||
false,true,$skip_notification))
|
false,true,$skip_notification))
|
||||||
{
|
{
|
||||||
if(Api\Json\Response::isJSONRequest())
|
if(Api\Json\Request::isJSONRequest())
|
||||||
{
|
{
|
||||||
Api\Json\Response::get()->call('egw.dataStoreUID','calendar::'.$id,$this->to_client($this->bo->read($id,$recur_date)));
|
Api\Json\Response::get()->call('egw.dataStoreUID','calendar::'.$id,$this->to_client($this->bo->read($id,$recur_date)));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user