Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
When a user is creating a link with the linkit plugin, and is clicking the Cancel button from the Linkit popup, the page is scrolling up to top.
A "return: false" was missing to prevent this in the js/linkit.dialog.js file. Patch provided.
Thanks
Comment | File | Size | Author |
---|---|---|---|
linkit-cancel-dialog.patch | 425 bytes | julien.reulos |
Comments
Comment #1
anonI have confirmed the issue, but unfortunatly the patch doesnt seems to fix this issue.
Also, remember to always make patches from the module root.
Comment #2
anonMy bad, that solution works.
I have commited a patch.