From: bobopinna Date: Tue, 26 Sep 2006 10:26:03 +0000 (+0000) Subject: Fixed a problem with Firefox X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a9d22c84b6ba756c6e20f97376717065d91419aa;p=moodle.git Fixed a problem with Firefox --- diff --git a/mod/scorm/lib.php b/mod/scorm/lib.php index c7338ff099..c8b448e19b 100755 --- a/mod/scorm/lib.php +++ b/mod/scorm/lib.php @@ -87,7 +87,11 @@ function scorm_update_instance($scorm) { delete_records('scorm_sequencing_rulecondition','scormid',$scorm->id); */ $scorm->launch = scorm_parse($scorm); + } else { + $oldscorm = get_record('scorm','id',$scorm->id); + $scorm->reference = $oldscorm->reference; // This fix a problem with Firefox when the teacher choose Cancel on overwrite question } + return update_record('scorm', $scorm); } diff --git a/mod/scorm/mod.html b/mod/scorm/mod.html index 113c5e79c2..60c5d93a95 100755 --- a/mod/scorm/mod.html +++ b/mod/scorm/mod.html @@ -202,7 +202,7 @@ } -
+
: