diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-10-27 22:54:39 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-10-27 22:54:39 +0200 |
commit | 1e8e2ae353312dacc2a05f1005fa322566cb6012 (patch) | |
tree | 63e336f7ffa06c7c9fd24a56944b2788cdf9c775 /apps/calendar/js | |
parent | d0e9c813993f5f02381f52faf34c9a54247f58fb (diff) | |
download | nextcloud-server-1e8e2ae353312dacc2a05f1005fa322566cb6012.tar.gz nextcloud-server-1e8e2ae353312dacc2a05f1005fa322566cb6012.zip |
Move unselect call to after the dialog starts
Diffstat (limited to 'apps/calendar/js')
-rw-r--r-- | apps/calendar/js/calendar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index cdfc521b22c..47db5dc5fca 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -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(); |