diff --git a/airtime_mvc/application/forms/AddShowWhat.php b/airtime_mvc/application/forms/AddShowWhat.php index b3e78d192..482c522dd 100644 --- a/airtime_mvc/application/forms/AddShowWhat.php +++ b/airtime_mvc/application/forms/AddShowWhat.php @@ -17,7 +17,8 @@ class Application_Form_AddShowWhat extends Zend_Form_SubForm 'class' => 'input_text', 'required' => true, 'filters' => array('StringTrim'), - 'validators' => array('NotEmpty') + 'validators' => array('NotEmpty'), + 'value' => 'Untitled Show 1' )); // Add URL element diff --git a/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js b/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js index 5330bc693..3eaaaa13f 100644 --- a/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js +++ b/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js @@ -18,7 +18,11 @@ function openAddShowForm() { $("#schedule_calendar").width(y-z-50); $("#schedule_calendar").fullCalendar('render'); } - $("#schedule-show-what").show(); + $("#schedule-show-what").show(0, function(){ + $add_show_name = $("#add_show_name"); + $add_show_name.focus(); + $add_show_name.select(); + }); } }