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) { function buildScheduleDialog (json) {
var dialog = $(json.dialog), var dialog = $(json.dialog),
viewport = findViewportDimensions(), viewport = findViewportDimensions(),
height = Math.floor(viewport.height * 0.96), height = Math.floor(viewport.height * 0.96),
@ -166,9 +165,8 @@ function buildScheduleDialog (json) {
modal: true, modal: true,
close: closeDialog, close: closeDialog,
buttons: {"Ok": function() { buttons: {"Ok": function() {
dialog.remove(); $(this).dialog("close");
$("#schedule_calendar").fullCalendar( 'refetchEvents' ); }}
}}
}); });
//set the start end times so the builder datatables knows its time range. //set the start end times so the builder datatables knows its time range.