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.
When the Hide Submit Button module is enabled, it prevents the Insert module from working.
For the moment I've had to disable the Hide Submit script on any page which is using Insert, but ideally I would like to use Hide Submit for the "Save" button on those pages. I just don't want the script messing with other submit buttons in the form, like those associated with image references, which are already being handled by other javascripts.
Comments
Comment #1
Optalgin CreditAttribution: Optalgin commentedHi, Sorry for the long wait..
There is a way to overcome this using attribute filter
It worked on my test server, hope it will work for you as well
Go to admin/settings/hide-submit and browse down to the advanced section
In this section you will find a textarea called "attribute filters"
add the following line
This will disable hide-submit for buttons with text value "Insert", if you use other language than change the value to the right one
I am closing this issue for now but feel free to reopen if my solution doesn't work for you
Comment #2
Optalgin CreditAttribution: Optalgin commentedComment #3
jstollerI tried that solution and at first I thought it was working, but as soon as I flushed the caches on the site it stopped working again.
Comment #4
hedac CreditAttribution: hedac commentedI had the same problem
#1 solution works for me jstoller
also after clearing caches
Comment #5
gregglesThanks for submitting this issue.
The 6.x branch of this module is not supported. This issue was filed against the 6.x version so I'm closing it because it doesn't seem relevant to the 7.x version.
If the issue is relevant for the 7.x version: I apologize for closing it. Can you please reopen it and adjust the version number?
Comment #6
MrPeanut CreditAttribution: MrPeanut commentedThis seems to be an issue with 7.x still. I'm using a patch from #1313192: Enable hide_submit on a per Form ID basis to exclude the form for the time being.