Merge pull request #265 from ben-denham/event-title-focus
Event title is no longer selected after being focused.master
commit
deb6f8dc9b
|
@ -136,6 +136,9 @@ Calendar={
|
|||
$('#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);
|
||||
|
|
Loading…
Reference in New Issue