Show alert if model validation fails for in-place editing (wincent.dev, 21d51ba)

If validation fails we now display a JavaScript alert before reverting the field to its former value. I could look at instead updating the flash region of the layout but I actually think a dialog box is a little more usable in this case.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Extract in_place_editor_field_id function (wincent.dev, 4539ee9)
Perform validation during in-place editing (wincent.dev, bc34e99) →

All snippets