mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Move unselect call to after the dialog starts
This commit is contained in:
parent
d0e9c81399
commit
1e8e2ae353
1 changed files with 1 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ Calendar={
|
|||
UI:{
|
||||
startEventDialog:function(){
|
||||
$('.tipsy').remove();
|
||||
$('#calendar_holder').fullCalendar('unselect');
|
||||
Calendar.UI.lockTime();
|
||||
$( "#from" ).datepicker({
|
||||
dateFormat : 'dd-mm-yy'
|
||||
|
|
@ -37,7 +38,6 @@ Calendar={
|
|||
if (end){
|
||||
end = Math.round(end.getTime()/1000);
|
||||
}
|
||||
$('#calendar_holder').fullCalendar('unselect');
|
||||
if($('#event').dialog('isOpen') == true){
|
||||
// TODO: save event
|
||||
$('#event').dialog('destroy').remove();
|
||||
|
|
|
|||
Loading…
Reference in a new issue