projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba457e
)
[FIX]Fixed the issue of IE8 in which Import functionality is not working.
author
msh-openerp
<msh@tinyerp.com>
Tue, 28 Aug 2012 13:22:44 +0000
(18:52 +0530)
committer
msh-openerp
<msh@tinyerp.com>
Tue, 28 Aug 2012 13:22:44 +0000
(18:52 +0530)
bzr revid: msh@tinyerp.com-
20120828132244
-shc344j4smo0k4wa
addons/web/static/src/js/data_import.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/data_import.js
b/addons/web/static/src/js/data_import.js
index
bac8628
..
5c7fbbc
100644
(file)
--- a/
addons/web/static/src/js/data_import.js
+++ b/
addons/web/static/src/js/data_import.js
@@
-18,7
+18,11
@@
function jsonp(form, attributes, callback) {
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) {