dialogs are modal on schedule screen.
This commit is contained in:
parent
5523255d3e
commit
2de6944a20
|
@ -101,6 +101,7 @@ function submitShow() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function closeDialog(event, ui) {
|
function closeDialog(event, ui) {
|
||||||
|
$("#schedule_calendar").fullCalendar( 'refetchEvents' );
|
||||||
$(this).remove();
|
$(this).remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,6 +141,7 @@ function makeShowDialog(json) {
|
||||||
title: 'Add Show',
|
title: 'Add Show',
|
||||||
width: 950,
|
width: 950,
|
||||||
height: 400,
|
height: 400,
|
||||||
|
modal: true,
|
||||||
close: closeDialog,
|
close: closeDialog,
|
||||||
buttons: { "Cancel": closeDialog, "Ok": submitShow}
|
buttons: { "Cancel": closeDialog, "Ok": submitShow}
|
||||||
});
|
});
|
||||||
|
@ -256,6 +258,7 @@ function openScheduleDialog(show) {
|
||||||
title: 'Schedule Playlist',
|
title: 'Schedule Playlist',
|
||||||
width: 950,
|
width: 950,
|
||||||
height: 450,
|
height: 450,
|
||||||
|
modal: true,
|
||||||
close: closeDialog,
|
close: closeDialog,
|
||||||
buttons: {"Ok": function() {
|
buttons: {"Ok": function() {
|
||||||
dialog.remove();
|
dialog.remove();
|
||||||
|
|
Loading…
Reference in New Issue