Mohammed Shekha(Open ERP) has proposed merging
lp:~openerp-dev/openerp-web/6.1-opw-578543-msh into lp:openerp-web/6.1.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-578543-msh/+merge/121612
Hello,
Fixed the issue of IE8 in which import functionality is not working.
When you import the file it will give "object doesn't support this action", it
is due delete operator, IE8 doesn't delete the property of object using delete
which is without declaration(i.e. global property is not deleted using delete
operator).
Demo :- try follow with IE8
window.x = 5
delete window.x //object doesn't support this action
For detail: http://perfectionkills.com/understanding-delete/
Thanks.
--
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-578543-msh/+merge/121612
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/6.1-opw-578543-msh.
=== modified file 'addons/web/static/src/js/data_import.js'
--- addons/web/static/src/js/data_import.js 2012-08-03 14:22:26 +0000
+++ addons/web/static/src/js/data_import.js 2012-08-28 13:35:24 +0000
@@ -18,7 +18,11 @@
attributes = attributes || {};
var options = {jsonp: _.uniqueId('import_callback_')};
window[options.jsonp] = function () {
- delete window[options.jsonp];
+ try{
+ delete window[options.jsonp];
+ } catch(e){
+ window[options.jsonp] = null;
+ }
callback.apply(null, arguments);
};
if ('data' in attributes) {
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp