Hi
I like this small module and I used it.
Currently I use wide usable ajax module, and I would like see hide_submit fixed for it.
With ajax module e.g. node is not submitted immediately, but after pressing submit there is text on submit button changed for a while to "loading" (it did ajax control if everything is ok before submit) and then if everything is ok, the text on the submit button is for a white changed to submit again (and the node is storing)
The problem is, that if the submit button is changed, and the node is not stored (ajax found e.g. that there is a required field not filled), the submit button is already changed to hide_submit_image and the form can't be submitted again.
Thanks
Igorik
http://www.somvprahe.sk
Comments
Comment #1
optalgin commentedThis module hides the button after it is clicked
What you suggest is to un-hide it is certain flows (like when there is ajax activity)
I am not sure exactly how and when this could be done
How can I know an ajax form return an error??
The only way I can think of right now is to set an independant time for "hide button for xx seconds"
If you have any ideas or suggestions how to do it better, you are more then welcome.
Comment #2
bryancasler commentedI would appreciate the hide for xx time option. I am having the exact same conflict. Although hiding for xx time isn't optimal, it would allow me to finally use this module.
Comment #3
carvalhar commentedisn't it possible to "hook" ajax module and onload remove the p class=hide-submit ?