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.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2851188-entityqueue-unneeded-message2.patch | 1.71 KB | quicksketch |
| #3 | 2851188-entityqueue-unneeded-message.patch | 1 KB | quicksketch |
| #2 | improve-changed-warning-2851188-2.patch | 698 bytes | mallezie |
Comments
Comment #2
mallezieAnd a patch
Comment #3
quicksketchHere'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.
Comment #5
quicksketchComment #6
quicksketchHeh, 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).