Don't close modal on click outside new course update modal.

STUD-1404
This commit is contained in:
Waheed Ahmed
2014-03-07 19:31:49 +05:00
parent 2a149a8b89
commit f16efbb285
2 changed files with 16 additions and 3 deletions

View File

@@ -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');