Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
9b076464
Commit
9b076464
authored
Sep 23, 2013
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moving unregistration of change listener into asset_index.html.
Fixes broken integration test on master.
parent
89c94b4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
cms/static/js/base.js
+0
-1
cms/templates/asset_index.html
+2
-0
No files found.
cms/static/js/base.js
View file @
9b076464
...
...
@@ -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
();
}
...
...
cms/templates/asset_index.html
View file @
9b076464
...
...
@@ -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%';
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment