forked from extern/egroupware
* Calendar: Fix quick add 'Save' button would close the whole window, if it had been opened by a different window
This commit is contained in:
parent
4472c050d6
commit
1f3870af17
@ -1144,7 +1144,11 @@ class calendar_uiforms extends calendar_ui
|
|||||||
$button == 'save' && $client_updated ? ($content['id'] ? $update_type : 'add') : 'delete'
|
$button == 'save' && $client_updated ? ($content['id'] ? $update_type : 'add') : 'delete'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
// Don't try to close quick add, it's not in a popup
|
||||||
|
if($content['template'] !== 'calendar.add')
|
||||||
|
{
|
||||||
Framework::window_close();
|
Framework::window_close();
|
||||||
|
}
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
unset($event['no_notifications']);
|
unset($event['no_notifications']);
|
||||||
|
Loading…
Reference in New Issue
Block a user