[FIX]Fixed the issue of IE8 in which Import functionality is not working.
bzr revid: msh@tinyerp.com-20120828132244-shc344j4smo0k4wa
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user