|
|
|
|
@ -1127,13 +1127,13 @@ window.HotspotQuestion = (function () { |
|
|
|
|
|
|
|
|
|
switch (config.for) { |
|
|
|
|
case 'admin': |
|
|
|
|
xhrQuestion = $.getJSON(config.relpath + 'main/exercice/hotspot_actionscript_admin.as.php', { |
|
|
|
|
xhrQuestion = $.getJSON(config.relPath+'main/exercice/hotspot_actionscript_admin.as.php', { |
|
|
|
|
modifyAnswers: parseInt(config.questionId) |
|
|
|
|
}); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'user': |
|
|
|
|
xhrQuestion = $.getJSON(config.relpath + 'main/exercice/hotspot_actionscript.as.php', { |
|
|
|
|
xhrQuestion = $.getJSON(config.relPath+'main/exercice/hotspot_actionscript.as.php', { |
|
|
|
|
modifyAnswers: parseInt(config.questionId), |
|
|
|
|
exe_id: parseInt(config.exerciseId) |
|
|
|
|
}); |
|
|
|
|
@ -1740,13 +1740,13 @@ window.DelineationQuestion = (function () { |
|
|
|
|
|
|
|
|
|
switch (config.for) { |
|
|
|
|
case 'admin': |
|
|
|
|
xhrQuestion = $.getJSON(config.relpath + 'main/exercice/hotspot_actionscript_admin.as.php', { |
|
|
|
|
xhrQuestion = $.getJSON(config.relPath+'main/exercice/hotspot_actionscript_admin.as.php', { |
|
|
|
|
modifyAnswers: parseInt(config.questionId) |
|
|
|
|
}); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'user': |
|
|
|
|
xhrQuestion = $.getJSON(config.relpath + 'main/exercice/hotspot_actionscript.as.php', { |
|
|
|
|
xhrQuestion = $.getJSON(config.relPath+'main/exercice/hotspot_actionscript.as.php', { |
|
|
|
|
modifyAnswers: parseInt(config.questionId) |
|
|
|
|
}); |
|
|
|
|
break; |
|
|
|
|
@ -1754,7 +1754,7 @@ window.DelineationQuestion = (function () { |
|
|
|
|
case 'solution': |
|
|
|
|
//no break
|
|
|
|
|
case 'preview': |
|
|
|
|
xhrQuestion = $.getJSON(config.relpath + 'main/exercice/hotspot_answers.as.php', { |
|
|
|
|
xhrQuestion = $.getJSON(config.relPath+'main/exercice/hotspot_answers.as.php', { |
|
|
|
|
modifyAnswers: parseInt(config.questionId), |
|
|
|
|
exe_id: parseInt(config.exerciseId) |
|
|
|
|
}); |
|
|
|
|
|