Jiten (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-client-web/trunk-bug-727874-jra into 
lp:openobject-client-web.

Requested reviews:
  OpenERP SA's Web Client R&D (openerp-dev-web)
Related bugs:
  Bug #727874 in OpenERP Web Client: "After saving a record, cp_path redirects 
twice and right toolbar (Toggle) is not working"
  https://bugs.launchpad.net/openobject-client-web/+bug/727874

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/trunk-bug-727874-jra/+merge/52810

Cherry request header creates a problem in Firefox to redirect path twice.

https://bugs.launchpad.net/openobject-client-web/+bug/727874
-- 
https://code.launchpad.net/~openerp-dev/openobject-client-web/trunk-bug-727874-jra/+merge/52810
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client-web/trunk-bug-727874-jra.
=== modified file 'openobject/tools/_utils.py'
--- openobject/tools/_utils.py	2011-02-12 12:46:29 +0000
+++ openobject/tools/_utils.py	2011-03-10 09:54:11 +0000
@@ -65,6 +65,8 @@
 def redirect(_cppath, _cpparams=None, **kw):
     if isinstance(_cppath, unicode):
         _cppath = _cppath.encode('utf-8')
+    if 'X-Requested-With' in cherrypy.request.headers:
+        kw['requested_with'] = cherrypy.request.headers['X-Requested-With']
     return cherrypy.HTTPRedirect(url(_cppath, _cpparams, **kw))
 
 

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help   : https://help.launchpad.net/ListHelp

Reply via email to