[FIX] corelib.js: use this instead of self

bzr revid: chs@openerp.com-20130528114400-jhjmk7hhg60o5871
This commit is contained in:
Christophe Simonis
2013-05-28 13:44:00 +02:00
parent 9bd1be36ee
commit c05abdc22d
+1 -1
View File
@@ -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;
},
});