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
b0e4bebc
Commit
b0e4bebc
authored
Sep 11, 2012
by
arjun810
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #661 from MITx/kimth/fix-firefox-cktsim
Fix circuit simulator js for Firefox
parents
88e138bf
f35412f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
common/lib/xmodule/xmodule/js/src/capa/schematic.js
+10
-1
No files found.
common/lib/xmodule/xmodule/js/src/capa/schematic.js
View file @
b0e4bebc
...
...
@@ -2023,7 +2023,16 @@ function add_schematic_handler(other_onload) {
update_schematics
();
}
}
window
.
onload
=
add_schematic_handler
(
window
.
onload
);
/*
* THK: Attaching update_schematic to window.onload is rather presumptuous...
* The function is called for EVERY page load, whether in courseware or in
* course info, in 6.002x or the public health course. It is also redundant
* because courseware includes an explicit call to update_schematic after
* each ajax exchange. In this case, calling update_schematic twice appears
* to contribute to a bug in Firefox that does not render the schematic
* properly depending on timing.
*/
//window.onload = add_schematic_handler(window.onload);
// ask each schematic input widget to update its value field for submission
function
prepare_schematics
()
{
...
...
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