I'm using submit buttons on forms to submit post requests to new windows, 
using <form target="_blank">. The problem is, web2py automatically changes 
the button text to "Working..." on the original page, after the submit 
button is clicked. There are some specific buttons where I don't want this 
to happen. How can I disable the behaviour on a per-button or per-form 
basis?

There's a comment in web2py.js which says:
 /*if you don't want to see "working..." on buttons, replace the following
         * two lines with this one
         * el.data('w2p_disable_with', el[method]());
         */

But I guess that would doable the behaviour for *all* buttons.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to