Hi guys,

Can you help me with this? My browser is giving me the following:
[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated 
because of its detrimental effects to the end user's experience.

The wierdest part is that it's on the web2py.component but I already use 
others and they work

$(document).ready(function(){
        $('#btn-edit').click(function(){
            url = "{{=URL('client','edit', args=client.id, 
user_signature=True)}}";
            target = 'client_info';
            $.web2py.component(url, target=target);
            $('#client_info').addClass("form");
            $('#btn-edit').remove();
            $('#btn-command').remove();
            return false; 
        });


        $('.nav-tabs a[href="#tab_assets"]').on('shown.bs.tab', function 
(e){
            url = "{{URL('domain','client_domains', args=client.id, 
user_signature=True)}}";
            $.web2py.component(url, target="client_domains");
            return false;
        });
    });

The first one works ok... The second gives that error, any ideas why?

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to