fix hickup from previous commit

master
Georg Ehrke 2014-02-04 22:10:38 +01:00
parent fde98bd651
commit 9f97ac0d43
1 changed files with 4 additions and 1 deletions

View File

@ -135,7 +135,10 @@ Calendar={
Calendar.UI.Share.init();
$('#sendemailbutton').click(function() {
Calendar.Util.sendmail($(this).attr('data-eventid'), $(this).attr('data-location'), $(this).attr('data-description'), $(this).attr('data-dtstart'), $(this).attr('data-dtend'));
})
});
// Focus the title, and reset the text value so that it isn't selected.
var val = $('#event-title').val();
$('#event-title').focus().val('').val(val);
},
newEvent:function(start, end, allday){
start = Math.round(start.getTime()/1000);