Merge pull request #14552 from edx/jmbowman/async_course_import

PLAT-1104 Import courses asynchronously
This commit is contained in:
Jeremy Bowman
2017-02-27 12:01:06 -05:00
committed by GitHub
14 changed files with 476 additions and 282 deletions

View File

@@ -81,7 +81,7 @@ define(
*/
var initEventListeners = function() {
$(window).on('beforeunload.import', function() {
if (current.stage <= STAGE.UNPACKING) {
if (current.stage < STAGE.UNPACKING) {
return gettext('Your import is in progress; navigating away will abort it.');
}
});