Skip to content

Commit

Permalink
Fix #435 GeoGebra iDevice does not save score
Browse files Browse the repository at this point in the history
  • Loading branch information
arpablos committed Oct 28, 2019
1 parent d29136d commit 939657a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ var $eXeAutoGeogebra = {
if (typeof(ggbApplet)!='undefined' && typeof(ggbApplet.getValue)=='function') {
var score = ggbApplet.getValue("SCORMRawScore");
alert($exe_i18n.yourScoreIs+score);
scorm.SetScoreRaw(score+"" );
scorm.SetScoreMax("10");
scorm.save();
} else {
alert($exe_i18n.dataError);
}
Expand Down

0 comments on commit 939657a

Please sign in to comment.