Merge branch '2.1.x' of dev.sourcefabric.org:airtime into 2.1.x

This commit is contained in:
Martin Konecny 2012-06-28 16:16:12 -04:00
commit d30f4c05bb
1 changed files with 266 additions and 268 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,8 +165,7 @@ 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' );
}} }}
}); });