Don't close modal on click outside new course update modal.
STUD-1404
This commit is contained in:
@@ -64,7 +64,7 @@ define(["js/views/baseview", "underscore", "codemirror", "js/models/course_updat
|
||||
|
||||
// Variable stored for unit test.
|
||||
this.$modalCover = ModalUtils.showModalCover(false, function() {
|
||||
self.closeEditor(true)
|
||||
// Binding empty function to prevent default hideModal.
|
||||
});
|
||||
|
||||
$('.date').datepicker('destroy');
|
||||
|
||||
Reference in New Issue
Block a user