diff options
| author | Christophe Simonis <chs@openerp.com> | 2013-05-28 13:44:00 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2013-05-28 13:44:00 +0200 |
| commit | c05abdc22d85f960f07822dfac89f57fb2807516 (patch) | |
| tree | 1e68a0029b120f7d51749c03369dd6f0f8758ccc | |
| parent | 9bd1be36ee473c2413f512c7032298fe7f6b50aa (diff) | |
[FIX] corelib.js: use this instead of self
bzr revid: chs@openerp.com-20130528114400-jhjmk7hhg60o5871
| -rw-r--r-- | addons/web/static/src/js/corelib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/corelib.js b/addons/web/static/src/js/corelib.js index 1a32a4b4b6e..116ddf2e8c2 100644 --- a/addons/web/static/src/js/corelib.js +++ b/addons/web/static/src/js/corelib.js @@ -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; }, }); |
