It would be nice to have the destination parameter be optional. For example some custom contextual links may want to lead to forms that you don't want to immediately redirect to the destination after saving (e.g. when using the "Add Content" button on nodequeues you want the form to reload so that you can sort the item you just added).

The attached patch adds a settings whose default value is enabled (for backwards compatibility).

Thanks!

CommentFileSizeAuthor
ccl-destination_optional.patch3.84 KBdrclaw
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drclaw created an issue. See original summary.

  • bkoether committed 3d52fea on 7.x-1.x authored by drclaw
    Issue #2849304 by drclaw: Add option to make destination parameter...
bkoether’s picture

Status: Needs review » Fixed

Just committed the patch to the dev version.
Thanks for the code drclaw!

  • bkoether committed 3d52fea on 8.x-1.x authored by drclaw
    Issue #2849304 by drclaw: Add option to make destination parameter...

Status: Fixed » Closed (fixed)

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