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:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user