it seems response.js have a different behaviour in new version
e.g. (the same code work well in 2.14.6)
...
if form.process().accepted:
...
    target_response = "jQuery('#test .close').click(); 
jQuery('#test').get(0).reload()"
    response.js =  target_response
    #redirect(request.env.http_web2py_component_location, client_side = 
True)

in 2.14.6, after the form submited it automatically reload the web2py 
component and the page still responding, while in the latest version the 
modal is closed, the component data is reload with new value but the page 
is not responding, just have the dark silouette of the page, the solution 
is must refresh the page or append :
redirect(request.env.http_web2py_component_location, client_side = True)
is it normal or did i missed something in the latest version ?

thanks and best regards,
stifan

-- 
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