I'm using hook_form_alter() on the form for editing and adding nodequeues ($form_id == 'nodequeue_edit_queue_form')

When a user adds a new nodequeue and submits the form, the new nodequeue is saved to the database and receives a qid. The control then passes to extra submit handlers defined by any hook_form_alter()s, however those extra submit handlers don't receive this qid.

This patch is a proposal to provide this qid in the $form_state so that new nodequeues will provide a qid in the same way that editing existing nodequeues provide it.

CommentFileSizeAuthor
nodequeue_form_qid.patch365 bytesdaniboy

Comments

ezra-g’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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