MDL-28295 SCORM change mangement of pop-up windows, load full SCORM API in existing window - this fixes an issue with IE 7 and httpreq communication

This commit is contained in:
Dan Marsden 2011-07-13 13:31:28 +12:00
parent 3fdc622697
commit 6d954dd372
6 changed files with 48 additions and 34 deletions

View file

@ -14,8 +14,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
function scorm_openpopup(url,name,options,width,height) {
fullurl = M.cfg.wwwroot + '/mod/scorm/' + url;
windowobj = window.open(fullurl,name,options);
windowobj = window.open(url,name,options);
if (!windowobj) {
return;
}