Merge pull request #14552 from edx/jmbowman/async_course_import
PLAT-1104 Import courses asynchronously
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user