mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-11892 Propogate Fixes for 'calls to expand javascript' to SCORM 1.2, and 1.3 code. Minor update to remove tab characters.
This commit is contained in:
parent
84774c552c
commit
770f1bc881
@ -226,9 +226,9 @@ function scorm_get_toc($user,$scorm,$liststyle,$currentorg='',$scoid='',$mode='n
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
function expandCollide(which,list,item) {
|
||||
var el = document.ids ? document.ids[list] : document.getElementById ? document.getElementById(list) : document.all[list];
|
||||
var el = document.ids ? document.ids[list] : document.getElementById ? document.getElementById(list) : document.all[list];
|
||||
which = which.substring(0,(which.length));
|
||||
var el2 = document.ids ? document.ids[which] : document.getElementById ? document.getElementById(which) : document.all[which];
|
||||
var el2 = document.ids ? document.ids[which] : document.getElementById ? document.getElementById(which) : document.all[which];
|
||||
if (el.style.display != "none") {
|
||||
el2.src = "'.$scormpixdir.'/plus.gif";
|
||||
el.style.display=\'none\';
|
||||
|
Loading…
x
Reference in New Issue
Block a user