mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
Fix early ajax update losing not yet saved partially entered events
This commit is contained in:
parent
c146da8106
commit
2c31029f66
@ -1009,7 +1009,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
}
|
}
|
||||||
// New event, send data before updating so it's there
|
// New event, send data before updating so it's there
|
||||||
$response = egw_json_response::get();
|
$response = egw_json_response::get();
|
||||||
if($response && !$content['id'])
|
if($response && !$content['id'] && $event['id'])
|
||||||
{
|
{
|
||||||
// Directly update stored data.
|
// Directly update stored data.
|
||||||
// Make sure we have the whole event, not just form data
|
// Make sure we have the whole event, not just form data
|
||||||
|
Loading…
Reference in New Issue
Block a user