~openerp-dev/openobject-client-web/6.0-opw-587800-2-cpa

  • Committer: Xavier ALT
  • Date: 2012-10-09 08:58:48 UTC
  • mfrom: (4877.2.7 6.0-opw-577661-xal)
  • Revision ID: xal@openerp.com-20121009085848-4rgyz9gtdqai828i
[MERGE] OPW 577661: web: fix error popup replacing "view" when submitted data contains binary

 - in browsers not supporting FileAPI, standard XMLHttpRequest does not allow
   sending <input type="file"/> binary content, so in that case jquery.form.js
   use a _hack_ by inclusing content within an iframe form and submitting that
   form.

   Normally, if server raise an error during an XHR request, we get the correct
   error status on the response, but with <input type="file"/> and _iframe hack_,
   we have no way to get the real response status (always think there is no error);
   We then wrongly call the 'sucess' callback, i.e replace view content by the
   received response.

   jQuery form plugin has been upgraded to support XHR status emulation and from
   web-client we intercept error message to add emulated status allowing us to
   call the right 'error callback'.
Filename Latest Rev Last Changed Committer Comment Size
..
addons 2865 14 years ago ame (Tiny) [REF] separating base API to openobject [REF] remo Diff
doc 3065 14 years ago Amit Mendapara [FIX] Fixed the setup.py script (pip, easy_install Diff
lib 2368 15 years ago ame (Tiny/Axelor) * supports local lib dir, where one can install de Diff
openobject 2863 14 years ago ame (Tiny) [REF] openerp-web => openobject-web (project name Diff
pixmaps 3784.1.5 13 years ago Julien Thewys [FIX] Moved pixmaps to fix path in .nsi Diff
scripts 2031.1.5 15 years ago Amit Mendapara * Restructured data files. Diff
win32 2154 15 years ago ame (Tiny/Axelor) * Windows Installer. Diff
.bzrignore 3714.1.1 13 years ago Xavier Morel [IMP] bzrignore file 73 bytes Diff Download File
File admin.py 2863 14 years ago ame (Tiny) [REF] openerp-web => openobject-web (project name 183 bytes Diff Download File
Makefile 3304 14 years ago Amit Mendapara [FIX] python egg filename 400 bytes Diff Download File
MANIFEST.in 4686 13 years ago Vo Minh Thu [FIX] setup.py: add the lib directory (containing 1.5 KB Diff Download File
File openerp-web.py 3306 14 years ago Amit Mendapara [FIX] package name issues (bug #628835) 511 bytes Diff Download File
File py2exe_utils.py 4430 13 years ago Antony Lesuisse [FIX] py2exe bundle functools 1.2 KB Diff Download File
File run-tests.py 2863 14 years ago ame (Tiny) [REF] openerp-web => openobject-web (project name 258 bytes Diff Download File
File setup.nsi 4209 13 years ago Stephane Wirtel [FIX] Add new parameters in the setup.nsi 8.9 KB Diff Download File
setup.py 4530 13 years ago Xavier Morel [FIX] CherryPy requirement to 3.1.2 as there are a 2.3 KB Diff Download File