You simply do:

<script>w2p_ajax_disable_with_message = "Doh! I am busy.";</script>



On Thursday, 19 September 2019 08:27:10 UTC-7, Maurice Waka wrote:
>
> I would like to use a different wording in the web2py.js by modifying this 
> part:
>            
>  /*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]());
>              */
>             if ((el.data('w2p_disable_with') == 'default') || (web2py.
> isUndefined(el.data(
>                     'w2p_disable_with')))) {
>                 el.data('w2p_disable_with', disable_with_message);
>             }
>
>
> I'm just not getting it right.
> Not a pro in js
> Pleaase help.
> Regards
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/b90f8471-e852-4199-9081-f4c1acf607dd%40googlegroups.com.

Reply via email to