We're updating the issue view to help you get more done. 

Moodle CSS + JS Hooks fails in editor

Description

Getting:
file_get_contents(http://localhost/theme/h5pmod/js/customEditor.js): failed to open stream: Connection refused
when trying to apply a script in the editor. Seems like the access to the script is refused. Should we get the files with a relative path instead of an url, like we do with the other scripts ?

Environment

None

Acceptance Criteria

  • Altering scripts in the editor with a theme/renderer fails, this must be fixed

Status

Assignee

Frode Petterson

Reporter

Thomas Marstrander

Labels

Funding

None

Code reviewer

Thomas Marstrander

Released

None

Time Tracking

2h

Fix versions

Priority

Highest