From 75649c8430a3540003c9ba37182070c568664d12 Mon Sep 17 00:00:00 2001 From: naomiaro Date: Wed, 2 Feb 2011 01:02:31 -0500 Subject: [PATCH] added ability to change slot widths on the calendar to see small shows. --- .../schedule/full-calendar-functions.js | 40 +++++++++++++++++++ public/js/airtime/schedule/schedule.js | 3 +- 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/public/js/airtime/schedule/full-calendar-functions.js b/public/js/airtime/schedule/full-calendar-functions.js index 337be235d..1651d042a 100644 --- a/public/js/airtime/schedule/full-calendar-functions.js +++ b/public/js/airtime/schedule/full-calendar-functions.js @@ -21,6 +21,46 @@ function dayClick(date, allDay, jsEvent, view) { var x; } +function viewDisplay( view ) { + + if(view.name === 'agendaDay' || view.name === 'agendaWeek') { + + var select = $('.schedule_change_slots'); + var calendarEl = this; + + if(select.length === 0) { + + select = $('