[FIX] typo

bzr revid: chs@openerp.com-20111117124819-qmxoit9i2ryo8szo
This commit is contained in:
Christophe Simonis 2011-11-17 13:48:19 +01:00
parent 7e9d606238
commit a113e971fb
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ openerp.web.Connection = openerp.web.CallbackEnabled.extend( /** @lends openerp.
}
if (this.server) {
throw new Error("Connection already bind to " + this.server);
throw new Error("Connection already bound to " + this.server);
}
var hostname = _.str.sprintf('%s//%s', location.protocol, location.host);
this.server = _.str.rtrim((!server) ? hostname : server, '/');