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?

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

StatusFileSize
new38.09 KB

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

StatusFileSize
new2.78 KB

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

StatusFileSize
new1.03 KB
astonvictor’s picture

Status: Needs work » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.