Fixed problem with the popup window options. Now, they are saved when you update an SCORM activity and you change those options.

This commit is contained in:
csantossaenz
2007-03-29 08:07:42 +00:00
parent d58e4f8a04
commit 4e3ee63c2e
+3
View File
@@ -17,6 +17,9 @@ $repositorybrowser = '/mod/resource/type/ims/finder.php';
* @param mixed $scorm Form data
* @return int
*/
require_once($CFG->dirroot.'/mod/scorm/locallib.php');
function scorm_add_instance($scorm) {
if(empty($scorm->datadir)) { //check to make sure scorm object is valid BEFORE entering it in the database.
error(get_string('nomanifest', 'scorm'));