Skip to content

Commit

Permalink
SAM-2968 Javascript error when a student retakes the assessment after (
Browse files Browse the repository at this point in the history
…sakaiproject#3508)

the due date
  • Loading branch information
alejandrogj authored and juanjmerono committed Oct 24, 2016
1 parent d56fcd8 commit bc14752
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions samigo/samigo-app/src/webapp/jsf/delivery/deliveryjQuery.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,7 @@
$(".ui-dialog-titlebar", $(this).parent()).hide();
$(this).css("background", "#EEEEEE");
}
});
$('#time-due-warning').dialog({
autoOpen: false,
width: 330,
modal: true,
resizable: false,
draggable: false,
closeOnEscape: false,
open: function (event,ui) {
$(".ui-dialog-titlebar", $(this).parent()).hide();
$(this).css("background", "#EEEEEE");
$(".ui-dialog-title").append("<span class='skip'>" + time_due_warning + "</span>");
}
});
});
});
function checkIfHonorPledgeIsChecked() {
Expand All @@ -114,7 +100,19 @@
}
function showTimeDueWarning() {
$('#time-due-warning').dialog('open');
$('#time-due-warning').dialog({
autoOpen: false,
width: 330,
modal: true,
resizable: false,
draggable: false,
closeOnEscape: false,
open: function (event,ui) {
$(".ui-dialog-titlebar", $(this).parent()).hide();
$(this).css("background", "#EEEEEE");
$(".ui-dialog-title").append("<span class='skip'>" + time_due_warning + "</span>");
}
});
return false;
}
Expand Down

0 comments on commit bc14752

Please sign in to comment.