If you save a queue with a value in the add field it add the item to the queue. Basically the Add item button is being triggered on save.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gordon created an issue. See original summary.

gordon’s picture

FileSize
1.36 KB

Here is a patch for this.

gordon’s picture

FileSize
1.14 KB

Found a small bug,

quicksketch’s picture

Status: Active » Needs review

Thanks, this seems reasonable to me. If I don't see it in the table I don't expect it to be added. I usually prefer to go by the field key rather than the label (though buttons are tricky to identify I know). I'll give this a minor update to change the check, but in concept it's all good.

quicksketch’s picture

Here's an adjusted patch that takes into account #2928765: Add items to top of the queue instead of the bottom and uses field keys instead of the button label. It also adjusts the "remove" logic to use the keys instead of field name.

  • quicksketch committed c14af7b on 7.x-1.x
    Issue #2928485 by gordon and quicksketch: Only add items to queue when '...
quicksketch’s picture

Status: Needs review » Fixed

Committed to 7.x-1.x.

Status: Fixed » Closed (fixed)

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