When managing an entityqueue the 'changed' message (Changes made in this table will not be saved until the form is submitted.) is shown when adding / removing / editing the table.
However when you keep the 'add item' textfield empty and press the add item button that message is also shown, while nothing actually happened.
In this case the message should not be shown.

Comments

mallezie created an issue. See original summary.

mallezie’s picture

Status: Active » Needs review
StatusFileSize
new698 bytes

And a patch

quicksketch’s picture

Here's an updated patch that accomplishes the same thing in a slightly more explicit manner by checking a dedicated property to determine if new items have been added.

  • quicksketch committed 09b7907 on 7.x-1.x
    Issue #2851188 by mallezie, quicksketch: Changed message shown when...
quicksketch’s picture

Status: Needs review » Fixed
quicksketch’s picture

Heh, follow-up here because this caused the message to NOT be shown when removing items. Now the message is shown both if items are added or removed (but not when clicking "Add" with no items).

  • quicksketch committed 610ddbb on 7.x-1.x
    Issue #2851188 by quicksketch, mallezie: Changed message shown when...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.