Accordion crashing on clicking some links
Hi there,
We're using moodle 3.1, and in Firefox and potentially IE on desktop, when we use the accordion, clicking some links within the text cause the accordion to 'crash'; the accordion disappears from the page. Not all links are affected, but it is consistent behaviour in terms of which links do and don't cause the crash.
We're embedding the content from h5p, although we re-created the error when using the content directly created in moodle and then using an iframe into a label. HOWEVER, when we access the module directly (as a resource type, not via an iframe), we don't experience the error. The links then do open, but they open in the same window, despite having specified them as 'target - new window'. Changing the links to 'target - same window' doesn't solve the issue in the iframes - the accordion still crashes.
On the Firefox browser console, the below shows when clicking on one of the links that cause the crash:
Security Error: Content at https://www.undergraduate.study.cam.ac.uk/fees-and-finance may not load data from https://vle.medschl.cam.ac.uk/course/view.php?id=662§ionid=10837.
Load denied by X-Frame-Options: https://www.undergraduate.study.cam.ac.uk/fees-and-finance does not permit cross-origin framing.
Any ideas? Many thanks in advance for help!
Best,
Al
BV52
Tue, 03/27/2018 - 14:51
Permalink
Hi Al,Would you mind sharing
Hi Al,
Would you mind sharing a link to the activity that is having the issue?
-BV52
vle
Tue, 03/27/2018 - 16:10
Permalink
Hi BV52,Unfortunately it's
Hi BV52,
Unfortunately it's behind a password protection, so I'm afraid not... which might scupper attempts at helping! Apologies
BV52
Wed, 03/28/2018 - 10:22
Permalink
Hi vle,Judging from the error
Hi vle,
Judging from the error message that you provided the server of undergraduate.study.cam.ac.uk seems to be very strict and rejects iframes' content that's stored on other servers. I would suggest that adjustments be made to these settings to enable iframes from other servers.
-BV52
vle
Thu, 03/29/2018 - 14:25
Permalink
Unfortunately they're
Unfortunately they're external websites so we're unlikely to be able to make any adjustments to those servers. Thanks anyway though, we'll look into some alternatives to the accordion.