Bug 1660540 - make the chat logs work again. r=khushil
This commit is contained in:
Родитель
bacbfdebb7
Коммит
7e2f73311d
|
@ -61,11 +61,6 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this._loadState) {
|
|
||||||
this._loadState = 1;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.currentURI.spec != "chrome://chat/content/conv.html") {
|
if (this.currentURI.spec != "chrome://chat/content/conv.html") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -204,12 +199,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
connectedCallback() {
|
connectedCallback() {
|
||||||
|
if (this.hasConnected) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.hasConnected = true;
|
||||||
|
|
||||||
super.connectedCallback();
|
super.connectedCallback();
|
||||||
|
|
||||||
this._theme = null;
|
this._theme = null;
|
||||||
|
|
||||||
this._loadState = 0;
|
|
||||||
|
|
||||||
this.autoCopyEnabled = false;
|
this.autoCopyEnabled = false;
|
||||||
|
|
||||||
this.magicCopyPref =
|
this.magicCopyPref =
|
||||||
|
@ -316,10 +314,6 @@
|
||||||
// Prevent ongoing asynchronous message display from continuing.
|
// Prevent ongoing asynchronous message display from continuing.
|
||||||
this._messageDisplayPending = false;
|
this._messageDisplayPending = false;
|
||||||
|
|
||||||
// _loadState is 0 while loading conv.html and 1 while
|
|
||||||
// loading the real conversation HTML.
|
|
||||||
this._loadState = 0;
|
|
||||||
|
|
||||||
this.docShell.charset = "UTF-8";
|
this.docShell.charset = "UTF-8";
|
||||||
const URI = "chrome://chat/content/conv.html";
|
const URI = "chrome://chat/content/conv.html";
|
||||||
const loadURIOptions = {
|
const loadURIOptions = {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче