Problem/Motivation

While testing #2149599: Fix minor bugs and minor coding standards violations in edit.module, discovered by backporting I ran into this issue. They're unrelated as far as I can tell.

When I remove an image from an article, the in-place edit does not register this as a change to the content of the field.

Proposed resolution

Trigger a field content change event when an image is removed.

User interface changes

None

API changes

None

Original report by @jessebeach

Comments

wim leers’s picture

Status: Active » Closed (duplicate)

Haha you won't believe this!

  1. This exact issue was reported almost 3 months ago: #2099331: Save button does not appear when using quick edit to remove an image from a post.
  2. That issue was marked as a duplicate itself:

    This is because a formUpdated event should be triggered and it is not. Hence it is a bug not in the Edit module, but in the form system. We already have an issue for that: #1636992: form.js' formUpdated event is unreliable/incomplete.

  3. And that last issue hasn't gone anywhere, which is why we still have this problem. So I changed that issues' priority to critical, which feels appropriate if it causes critical UI bugs elsewhere (i.e. like reported here.)