fixed issue 1158, redirect client_side in auth forms embedded via LOAD, thanks PyCon support

This commit is contained in:
mdipierro
2012-11-14 14:12:32 -06:00
parent 019211cb80
commit f90d871fb6
3 changed files with 18 additions and 17 deletions
+1 -1
View File
@@ -154,4 +154,4 @@ def redirect(location='', how=303, client_side=False):
from gluon import current
if client_side and current.request.ajax:
raise HTTP(200, **{'web2py-component-command': 'window.location.reload(true)'})