mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-04 13:10:33 +01:00
Fix calendar entries opened from mail using a link could not be edited
This commit is contained in:
parent
1159df66cf
commit
2bfe829dd8
@ -514,6 +514,17 @@ class Etemplate extends Etemplate\Widget\Template
|
||||
{
|
||||
$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
|
||||
*
|
||||
|
@ -553,6 +553,7 @@ class calendar_ui
|
||||
$this->merge();
|
||||
return;
|
||||
}
|
||||
Etemplate::reset_request();
|
||||
$sidebox = new Etemplate('calendar.sidebox');
|
||||
|
||||
$cont = $this->cal_prefs['saved_states'];
|
||||
|
Loading…
Reference in New Issue
Block a user