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
b069f95c
Commit
b069f95c
authored
Dec 07, 2012
by
David Ormsbee
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1109 from MITx/feature/dave/pearson_ie7
IE7 compatibility
parents
7596deb4
e3b4d78d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
common/lib/xmodule/xmodule/js/src/capa/schematic.js
+5
-5
lms/envs/common.py
+1
-0
lms/static/js/form.ext.js
+1
-1
No files found.
common/lib/xmodule/xmodule/js/src/capa/schematic.js
View file @
b069f95c
...
...
@@ -1953,7 +1953,7 @@ cktsim = (function() {
var
module
=
{
'Circuit'
:
Circuit
,
'parse_number'
:
parse_number
,
'parse_source'
:
parse_source
,
'parse_source'
:
parse_source
}
return
module
;
}());
...
...
@@ -2068,7 +2068,7 @@ schematic = (function() {
'n'
:
[
NFet
,
'NFet'
],
'p'
:
[
PFet
,
'PFet'
],
's'
:
[
Probe
,
'Voltage Probe'
],
'a'
:
[
Ammeter
,
'Current Probe'
]
,
'a'
:
[
Ammeter
,
'Current Probe'
]
};
// global clipboard
...
...
@@ -5502,7 +5502,7 @@ schematic = (function() {
'magenta'
:
'rgb(255,64,255)'
,
'yellow'
:
'rgb(255,255,64)'
,
'black'
:
'rgb(0,0,0)'
,
'x-axis'
:
undefined
,
'x-axis'
:
undefined
};
function
Probe
(
x
,
y
,
rotation
,
color
,
offset
)
{
...
...
@@ -6100,7 +6100,7 @@ schematic = (function() {
'Amplitude'
,
'Frequency (Hz)'
,
'Delay until sin starts (secs)'
,
'Phase offset (degrees)'
]
,
'Phase offset (degrees)'
]
}
// build property editor div
...
...
@@ -6300,7 +6300,7 @@ schematic = (function() {
var
module
=
{
'Schematic'
:
Schematic
,
'component_slider'
:
component_slider
,
'component_slider'
:
component_slider
}
return
module
;
}());
lms/envs/common.py
View file @
b069f95c
...
...
@@ -404,6 +404,7 @@ courseware_only_js += [
]
main_vendor_js
=
[
'js/vendor/json2.js'
,
'js/vendor/jquery.min.js'
,
'js/vendor/jquery-ui.min.js'
,
'js/vendor/jquery.cookie.js'
,
...
...
lms/static/js/form.ext.js
View file @
b069f95c
...
...
@@ -28,7 +28,7 @@
CSRFProtection
:
function
(
xhr
)
{
var
token
=
$
.
cookie
(
'csrftoken'
);
if
(
token
)
xhr
.
setRequestHeader
(
'X-CSRFToken'
,
token
);
}
,
}
}
$
.
ajaxPrefilter
(
function
(
options
,
originalOptions
,
xhr
){
if
(
!
options
.
crossDomain
)
{
form_ext
.
CSRFProtection
(
xhr
);
}});
$
(
document
).
delegate
(
'form'
,
'submit'
,
function
(
e
)
{
...
...
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