CC-4000: Calendar -> Add/remove content -> Show / hide columns: the selector window will pop up at background sometimes

-fixed
This commit is contained in:
denise 2012-06-28 15:43:48 -04:00
parent 5427fbc083
commit 69eb80c5ac
1 changed files with 2 additions and 4 deletions

View File

@ -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.