From 69eb80c5acbcd39458013d2fc02c2f3a3f65bb80 Mon Sep 17 00:00:00 2001 From: denise Date: Thu, 28 Jun 2012 15:43:48 -0400 Subject: [PATCH] CC-4000: Calendar -> Add/remove content -> Show / hide columns: the selector window will pop up at background sometimes -fixed --- airtime_mvc/public/js/airtime/schedule/schedule.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/airtime_mvc/public/js/airtime/schedule/schedule.js b/airtime_mvc/public/js/airtime/schedule/schedule.js index 80ef628c1..3713db08f 100644 --- a/airtime_mvc/public/js/airtime/schedule/schedule.js +++ b/airtime_mvc/public/js/airtime/schedule/schedule.js @@ -137,7 +137,6 @@ function findViewportDimensions() { } function buildScheduleDialog (json) { - var dialog = $(json.dialog), viewport = findViewportDimensions(), height = Math.floor(viewport.height * 0.96), @@ -166,9 +165,8 @@ function buildScheduleDialog (json) { modal: true, close: closeDialog, buttons: {"Ok": function() { - dialog.remove(); - $("#schedule_calendar").fullCalendar( 'refetchEvents' ); - }} + $(this).dialog("close"); + }} }); //set the start end times so the builder datatables knows its time range.