I wanted to change to code posted above...the two lines but I don't see any
change.
Tried:
if ((el.data('w2p_disable_with', el[method]()))) {
el.data('w2p_disable_with', disable_with_message);
}
also is it possible to animate from the div page than the button?
Regards
On Fri, Sep 20, 2019 at 6:35 AM Massimo Di Pierro <
[email protected]> wrote:
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/cpR8e4EjvsU/unsubscribe.
> To unsubscribe from this group and all its topics, 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
> <https://groups.google.com/d/msgid/web2py/b90f8471-e852-4199-9081-f4c1acf607dd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
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/CALkNK56NHTSOA%3D%2BnGyiCpdmeUJuwfMuZfpiorxdAN0dVNTjDNw%40mail.gmail.com.