checks on dates, UI work mostly done

This commit is contained in:
naomiaro 2011-01-30 20:11:18 -05:00
parent dc6fcec0e3
commit 092b36c346
17 changed files with 293 additions and 197 deletions

View file

@ -60,7 +60,15 @@ function findHosts(request, callback) {
function setAddShowEvents() {
var start, end;
$("#schedule-add-show-tabs").tabs();
$(".tabs").tabs();
if(!$("#add_show_repeats").attr('checked')) {
$("#schedule-show-when > fieldset:last").hide();
}
$("#add_show_repeats").click(function(){
$("#schedule-show-when > fieldset:last").toggle();
});
start = $("#add_show_start_date");
end = $("#add_show_end_date");
@ -99,8 +107,8 @@ $(document).ready(function() {
$("#fullcalendar_show_display").fullCalendar({
header: {
left: 'prev, next, today',
center: '',
right: ''
center: 'title',
right: 'agendaDay, agendaWeek, month'
},
defaultView: 'agendaDay',
editable: false,