forked from extern/egroupware
Fix calendar entries opened from mail using a link could not be edited
This commit is contained in:
parent
73e4a9ce01
commit
4f61bc073d
@ -506,6 +506,17 @@ class Etemplate extends Etemplate\Widget\Template
|
|||||||
{
|
{
|
||||||
$this->dom_id = $new_id;
|
$this->dom_id = $new_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Make sure there's a new request, in case of multiple Etemplates in one call.
|
||||||
|
* Normally this isn't a problem, but if you've got an etemplate in the sidebox,
|
||||||
|
* and are seeing problems submitting another etemplate, try this before executing
|
||||||
|
* the sidebox etemplate.
|
||||||
|
*/
|
||||||
|
public static function reset_request()
|
||||||
|
{
|
||||||
|
self::$request = Etemplate\Request::read();
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Get template data as array
|
* Get template data as array
|
||||||
*
|
*
|
||||||
|
@ -553,6 +553,7 @@ class calendar_ui
|
|||||||
$this->merge();
|
$this->merge();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Etemplate::reset_request();
|
||||||
$sidebox = new Etemplate('calendar.sidebox');
|
$sidebox = new Etemplate('calendar.sidebox');
|
||||||
|
|
||||||
$cont = $this->cal_prefs['saved_states'];
|
$cont = $this->cal_prefs['saved_states'];
|
||||||
|
Loading…
Reference in New Issue
Block a user