I do not need an add another button in the edit form, just in the node creation form. I can't hide it though.
What's more, when in edit mode, if I click the button, it's like clicking Save, that is, it doesn't go to a new node form.

Comments

nicholasthompson’s picture

The patch in #4 from #1393526: Save and add another button breaks insert processing fixes this issue. This is related to the module trying to do a drupal_goto in a hook_insert, rather than using the $form_state['redirect'] method.

EDIT: Once the patch from #1393526: Save and add another button breaks insert processing is committed, it'll make fixing the add/edit thing easier too.

robin monks’s picture

Status: Active » Fixed

This issue is fixed in 2.x-dev; you can upgrade to the dev version or wait for a 2.1-beta1 to be released shortly.

Status: Fixed » Closed (fixed)

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