[web2py] Re: Ajax call does not redirect.

2015-01-21 Thread James O' Driscoll
Hey Leonel, I tried that, when I ran the code that you suggested, web2py did not redirect to display_canvas, Execution in the following order, with client_side=True: 1.run display_canvas 2.ajax call to display and with, with client_side=False: 1. run display_canvas 2. ajax call to

[web2py] Re: Ajax call does not redirect.

2015-01-18 Thread Leonel Câmara
Hey, For ajax calls you need to use: redirect(URL('default', 'display_canvas', args=[screen_width]), client_side=True) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (