For new events with title pre-set, highlight the title for easy editing

This commit is contained in:
nathangray 2016-06-14 11:23:26 -06:00
parent 9d12c2a9a5
commit 700ef496d7

View File

@ -225,6 +225,12 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
}
}
this.alarm_custom_date();
// If title is pre-filled for a new (no ID) event, highlight it
if(content.data && !content.data.id && content.data.title)
{
this.et2.getWidgetById('title').input.select();
}
break;
case 'calendar.freetimesearch':