Comment 9 for bug 1560329

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

Reviewed: https://reviews.mahara.org/7077
Committed: https://git.mahara.org/mahara/mahara/commit/f74fa0710baaeae199738fd688622b5624cfe7a6
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.04_STABLE

commit f74fa0710baaeae199738fd688622b5624cfe7a6
Author: Aaron Wells <email address hidden>
Date: Tue Mar 22 18:56:14 2016 +1300

Better handling of Pieforms validation failure in block modal

Bug 1560329: We were neglecting to rewire the "cancel/remove"
button on a block config after a Pieforms validation failure.
A pieforms validation failure (when you're using Pieforms'
jsforms feature) actually replaces the current form with a
new one, rather than just inserting error messages into the
existing form.

Change-Id: Ie3fa440595b08cc5a49cb89cb7ca95bcfa02c2db
behatnotneeded: Not easy to test with Behat
(cherry picked from commit ac21cd81495d12f277a55d97245ed2dc0bc414fd)
(cherry picked from commit ce695f4b453fa8551cbff532cf578e550e42f4f0)