Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
25b1a2e7
Commit
25b1a2e7
authored
Jan 25, 2021
by
Robert Czechowski
Browse files
Fix fioi task wrapper 'wrapper.html' to save tasks on every run even in new task layout
parent
3ae3356b
Changes
1
Hide whitespace changes
Inline
Side-by-side
tasks/jwinf/wrapper.html
View file @
25b1a2e7
...
...
@@ -20,7 +20,7 @@ var options = {
noScore
:
0
,
randomSeed
:
0
,
readOnly
:
false
,
options
:{
difficulty
:
"
easy
"
},
options
:{
difficulty
:
"
easy
"
,
log
:
1
},
}
var
myLoadViews
=
{
...
...
@@ -115,6 +115,10 @@ function getTaskProxyCallback(task) {
else
if
(
mode
==
'
next
'
||
mode
==
'
nextImmediate
'
)
{
window
.
parent
.
redirectOverview
();
}
if
(
mode
==
'
log
'
)
{
task
.
getAnswer
(
getAnswerCallback
,
ec
(
"
task.getAnswer
"
));
if
(
cb
)
{
cb
();}
}
else
{
console
.
error
(
"
Unknown mode: '
"
+
mode
+
"
'
"
);
if
(
ecb
)
{
ecb
();}
...
...
Robert Czechowski
@zgtm
mentioned in commit
a066df80
·
Jan 27, 2021
mentioned in commit
a066df80
mentioned in commit a066df80c0f15cd4207bb76dae31860d13533a43
Toggle commit list
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