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
3b49c17c
Commit
3b49c17c
authored
Apr 23, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3382 from TheJJ/patch-1
fixed retry invokation for calling setState
parents
9d9f28da
3de30aba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
AUTHORS
+1
-0
common/static/js/capa/src/jsinput.js
+4
-5
No files found.
AUTHORS
View file @
3b49c17c
...
...
@@ -139,3 +139,4 @@ Raees Chachar <raees.chachar@arbisoft.com>
Muhammad Ammar <muhammad.ammar@arbisoft.com>
William Desloge <william.desloge@ionis-group.com>
Marco Re <mrc.re@tiscali.it>
Jonas Jelten <jelten@in.tum.de>
common/static/js/capa/src/jsinput.js
View file @
3b49c17c
...
...
@@ -156,7 +156,7 @@ var JSInput = (function ($, undefined) {
// only application that has ever used JSInput, jsVGL. Something
// more sturdy should be put in place.
function
whileloop
(
n
)
{
if
(
n
<
5
){
if
(
n
>
0
){
try
{
if
(
sop
)
{
_deepKey
(
cWindow
,
stateSetter
)(
stateValue
);
...
...
@@ -169,14 +169,14 @@ var JSInput = (function ($, undefined) {
});
}
}
catch
(
err
)
{
setTimeout
(
whileloop
(
n
+
1
)
,
200
);
setTimeout
(
function
()
{
whileloop
(
n
-
1
);
}
,
200
);
}
}
else
{
console
.
debug
(
"Error: could not set state"
);
}
}
whileloop
(
0
);
whileloop
(
5
);
}
}
...
...
@@ -217,4 +217,4 @@ var JSInput = (function ($, undefined) {
walkDOM
:
walkDOM
};
})(
window
.
jQuery
);
\ No newline at end of file
})(
window
.
jQuery
);
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