Comment 8 for bug 1782729

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/9024
Committed: https://git.mahara.org/mahara/mahara/commit/6c5373d6abd9728a19bb839f6da384ef83377549
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 6c5373d6abd9728a19bb839f6da384ef83377549
Author: Robert Lyon <email address hidden>
Date: Mon Jul 23 12:19:22 2018 +1200

Bug 1782729: Adjust skin form to submit via javascript

In the past there was 2 filebrowser fields, body background and view
background, in the skin edit form and this meant we couldn't submit
the form by js as it confused things.

But now we only have the body background image option so I've altered
the form so that it submits via javascript.

In doing so it gets the changing folder to work as expected as well.

I've also restricted the images one can use to non-profile ones as
that was causing an error on valid image check.

behatnotneeded

Change-Id: Ia11d3ce6073d15d2c60727d3abbdf31b6a93993b
Signed-off-by: Robert Lyon <email address hidden>