Fix accordion link BT#10217

1.9.x
Julio 10 years ago
parent 9ed92011ed
commit 39f5059d67
  1. 5
      main/inc/lib/javascript/fixlinks.js
  2. 5
      main/newscorm/scorm_api.php

@ -96,6 +96,11 @@ $(document).ready(function() {
return true;
}
var hasAccordion = $(this).attr('class').indexOf('accordion-toggle');
if (hasAccordion >= 0) {
return true;
}
var src = $(this).attr('href');
src = url+'&type=link&src='+src;
src = src.replace('https', 'http');

@ -2235,6 +2235,11 @@ function attach_glossary_into_scorm(type) {
return true;
}
var hasAccordion = $(this).attr('class').indexOf('accordion-toggle');
if (hasAccordion >= 0) {
return true;
}
var src = $(this).attr('href');
src = url+'&type=link&src='+src;
src = src.replace('https', 'http');

Loading…
Cancel
Save