CC-4000: Calendar -> Add/remove content -> Show / hide columns: the selector window will pop up at background sometimes
-fixed
This commit is contained in:
parent
5427fbc083
commit
69eb80c5ac
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue