Versal/versal-gadget-launchers — pull request #35 by janpaul123 (2014-08-26 16:09:07+00:00)
Title: No setattributes when editing not allowed

Do not fire setAttributes when `editing-allowed` is not set.

`editing-allowed` is only set when in a completely learner-only course. This is to not potentially break existing behaviour when authoring, even though that behaviour may be erroneous.

Fixes e.g. the Markdown gadget giving 403 errors in the console.