[FIX] corelib.js: use this instead of self
bzr revid: chs@openerp.com-20130528114400-jhjmk7hhg60o5871
This commit is contained in:
@@ -1144,7 +1144,7 @@ instance.web.JsonRPC = instance.web.Class.extend(instance.web.PropertiesMixin, {
|
||||
}
|
||||
qs = '?' + $.param(params);
|
||||
}
|
||||
var prefix = _.any(['http://', 'https://', '//'], _.bind(_.str.startsWith, null, path)) ? '' : self.prefix;
|
||||
var prefix = _.any(['http://', 'https://', '//'], _.bind(_.str.startsWith, null, path)) ? '' : this.prefix;
|
||||
return prefix + path + qs;
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user