CC-2289:Differentiate between time and duration

- modified createNewFormSections function so it populate form
with defalt value
This commit is contained in:
james 2011-06-13 14:20:57 -04:00
parent 7cc1f5c2e7
commit 061dec14aa

View file

@ -765,6 +765,13 @@ class Schedule {
$p_view->addNewShow = true;
$formWhat->populate(array('add_show_id' => '-1'));
$formWhen->populate(array('add_show_start_date' => date("Y-m-d"),
'add_show_start_time' => '00:00',
'add_show_end_date_no_repeate' => date("Y-m-d"),
'add_show_end_time' => '01:00',
'add_show_duration' => '1h'));
$formRepeats->populate(array('add_show_end_date' => date("Y-m-d")));
}
}