browser: rename 'lool' -> 'cool'
Change-Id: I1abd3448b206e62c016ba13d0c0e052ee55dd5da Signed-off-by: Henry Castro <hcastro@collabora.com>pull/3649/head
parent
b672f2f5f4
commit
969ca88846
|
@ -828,7 +828,7 @@ window.app = { // Shouldn't have any functions defined.
|
||||||
} else {
|
} else {
|
||||||
// The URL may already contain a query (e.g., 'http://server.tld/foo/wopi/files/bar?desktop=baz') - then just append more params
|
// The URL may already contain a query (e.g., 'http://server.tld/foo/wopi/files/bar?desktop=baz') - then just append more params
|
||||||
var docParamsPart = docParams ? (global.docURL.includes('?') ? '&' : '?') + docParams : '';
|
var docParamsPart = docParams ? (global.docURL.includes('?') ? '&' : '?') + docParams : '';
|
||||||
var websocketURI = global.makeWsUrlWopiSrc('/lool/', global.docURL + docParamsPart);
|
var websocketURI = global.makeWsUrlWopiSrc('/cool/', global.docURL + docParamsPart);
|
||||||
try {
|
try {
|
||||||
global.socket = global.createWebSocket(websocketURI);
|
global.socket = global.createWebSocket(websocketURI);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
|
@ -34,7 +34,7 @@ app.definitions.Socket = L.Class.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
getWebSocketBaseURI: function(map) {
|
getWebSocketBaseURI: function(map) {
|
||||||
return window.makeWsUrlWopiSrc('/lool/', map.options.doc + '?' + $.param(map.options.docParams));
|
return window.makeWsUrlWopiSrc('/cool/', map.options.doc + '?' + $.param(map.options.docParams));
|
||||||
},
|
},
|
||||||
|
|
||||||
connect: function(socket) {
|
connect: function(socket) {
|
||||||
|
|
|
@ -76,7 +76,7 @@ L.Clipboard = L.Class.extend({
|
||||||
getMetaPath: function(idx) {
|
getMetaPath: function(idx) {
|
||||||
if (!idx)
|
if (!idx)
|
||||||
idx = 0;
|
idx = 0;
|
||||||
return '/lool/clipboard?WOPISrc=' + encodeURIComponent(this._map.options.doc) +
|
return '/cool/clipboard?WOPISrc=' + encodeURIComponent(this._map.options.doc) +
|
||||||
'&ServerId=' + app.socket.WSDServer.Id +
|
'&ServerId=' + app.socket.WSDServer.Id +
|
||||||
'&ViewId=' + this._map._docLayer._viewId +
|
'&ViewId=' + this._map._docLayer._viewId +
|
||||||
'&Tag=' + this._accessKey[idx];
|
'&Tag=' + this._accessKey[idx];
|
||||||
|
|
Loading…
Reference in New Issue