It's super annoying for folks who do not want to save and edit form (for whatever reason) and have moved on.

They see a lock release message (or a few) and would like to unlock them, however when clicking they are whisked away to precisely the page they no longer care about.

I would suggest adding a destination to the release message link.

Personally, I feel this should be the way it works, but perhaps you'd like an option and maybe the existing behavior as the default?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

doublejosh’s picture

Clarification...

The "check back in now" message does include a destination (since you would want to be on that same page).

This is regarding the "You may want to" pending locks message.

doublejosh’s picture

Ok, worked up a patch which includes the setting since I'm guessing that's what you will want. Again, I'd recommend this as the norm... with no option :)

doublejosh’s picture

Here's a screen shot of the option addition.

doublejosh’s picture

Status: Active » Needs review
doublejosh’s picture

Improved the JS syntax in the patch.

doublejosh’s picture

Hoe about a patch with contents.

pandaski’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Needs review » Needs work
AstonVictor’s picture