Skip to content
Snippets Groups Projects
Commit c1d63919 authored by Christina Roberts's avatar Christina Roberts
Browse files

Merge pull request #1089 from edx/christina/basejs_bug

Moving unregistration of change listener into asset_index.html.

Build passed when ran manually (automatic one is running now).
parents 88cae543 9b076464
No related branches found
Tags release-2021-05-04-14.07
No related merge requests found
......@@ -429,7 +429,6 @@ function hideModal(e) {
// of the editor. Users must press Cancel or Save to exit the editor.
// module_edit adds and removes the "is-fixed" class.
if (!$modalCover.hasClass("is-fixed")) {
$('.file-input').unbind('change', startUpload);
$modal.hide();
$modalCover.hide();
}
......
......@@ -74,6 +74,8 @@
};
var resetUploadModal = function () {
$('.file-input').unbind('change', startUpload);
// Reset modal so it no longer displays information about previously
// completed uploads.
var percentVal = '0%';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment