dialogs are modal on schedule screen.

This commit is contained in:
naomiaro 2011-01-14 16:23:16 -05:00
parent 5523255d3e
commit 2de6944a20
1 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,7 @@ function submitShow() {
}
function closeDialog(event, ui) {
$("#schedule_calendar").fullCalendar( 'refetchEvents' );
$(this).remove();
}
@ -140,6 +141,7 @@ function makeShowDialog(json) {
title: 'Add Show',
width: 950,
height: 400,
modal: true,
close: closeDialog,
buttons: { "Cancel": closeDialog, "Ok": submitShow}
});
@ -256,6 +258,7 @@ function openScheduleDialog(show) {
title: 'Schedule Playlist',
width: 950,
height: 450,
modal: true,
close: closeDialog,
buttons: {"Ok": function() {
dialog.remove();