Commit ee63168b authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Проверка порта на undefined

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56275 954022d7-b5bf-4e40-9824-e11837661b57
parent 1abf693b
...@@ -799,7 +799,7 @@ ...@@ -799,7 +799,7 @@
var docsCoApi = this; var docsCoApi = this;
// Server info // Server info
this._serverHost = serverHost; this._serverHost = serverHost;
this._serverPort = serverPort; this._serverPort = serverPort ? serverPort : '';
this._serverPath = serverPath; this._serverPath = serverPath;
this.sockjs_url = this._url + '/doc/'+docid+'/c'; this.sockjs_url = this._url + '/doc/'+docid+'/c';
this.sockjs = initSocksJs(this.sockjs_url, this); this.sockjs = initSocksJs(this.sockjs_url, this);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment