xhr.responseText -> xhr.response
This commit is contained in:
parent
784cc6a8ae
commit
d851ecce2d
@ -727,7 +727,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
doc = d.implementation.createHTMLDocument(null);
|
doc = d.implementation.createHTMLDocument(null);
|
||||||
doc.documentElement.innerHTML = req.responseText;
|
doc.documentElement.innerHTML = req.response;
|
||||||
Threading.op($('body > form', doc).firstChild);
|
Threading.op($('body > form', doc).firstChild);
|
||||||
node = d.importNode(doc.getElementById(replyID));
|
node = d.importNode(doc.getElementById(replyID));
|
||||||
quotes = node.getElementsByClassName('quotelink');
|
quotes = node.getElementsByClassName('quotelink');
|
||||||
@ -832,7 +832,7 @@
|
|||||||
}
|
}
|
||||||
a.textContent = a.textContent.replace('\u00d7 Loading...', '-');
|
a.textContent = a.textContent.replace('\u00d7 Loading...', '-');
|
||||||
doc = d.implementation.createHTMLDocument(null);
|
doc = d.implementation.createHTMLDocument(null);
|
||||||
doc.documentElement.innerHTML = req.responseText;
|
doc.documentElement.innerHTML = req.response;
|
||||||
nodes = [];
|
nodes = [];
|
||||||
_ref = $$('.reply', doc);
|
_ref = $$('.reply', doc);
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
@ -2583,7 +2583,7 @@
|
|||||||
}
|
}
|
||||||
Updater.lastModified = this.getResponseHeader('Last-Modified');
|
Updater.lastModified = this.getResponseHeader('Last-Modified');
|
||||||
doc = d.implementation.createHTMLDocument(null);
|
doc = d.implementation.createHTMLDocument(null);
|
||||||
doc.documentElement.innerHTML = this.responseText;
|
doc.documentElement.innerHTML = this.response;
|
||||||
id = $('input', Updater.br.previousElementSibling).name;
|
id = $('input', Updater.br.previousElementSibling).name;
|
||||||
nodes = [];
|
nodes = [];
|
||||||
_ref = $$('.reply', doc).reverse();
|
_ref = $$('.reply', doc).reverse();
|
||||||
@ -3186,7 +3186,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
doc = d.implementation.createHTMLDocument(null);
|
doc = d.implementation.createHTMLDocument(null);
|
||||||
doc.documentElement.innerHTML = req.responseText;
|
doc.documentElement.innerHTML = req.response;
|
||||||
node = id === threadID ? Threading.op($('body > form', doc).firstChild) : doc.getElementById(id);
|
node = id === threadID ? Threading.op($('body > form', doc).firstChild) : doc.getElementById(id);
|
||||||
newInline = QuoteInline.table(id, node.innerHTML);
|
newInline = QuoteInline.table(id, node.innerHTML);
|
||||||
_ref = $$('.quotelink', newInline);
|
_ref = $$('.quotelink', newInline);
|
||||||
@ -3275,7 +3275,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
doc = d.implementation.createHTMLDocument(null);
|
doc = d.implementation.createHTMLDocument(null);
|
||||||
doc.documentElement.innerHTML = req.responseText;
|
doc.documentElement.innerHTML = req.response;
|
||||||
node = id === threadID ? Threading.op($('body > form', doc).firstChild) : doc.getElementById(id);
|
node = id === threadID ? Threading.op($('body > form', doc).firstChild) : doc.getElementById(id);
|
||||||
qp.innerHTML = node.innerHTML;
|
qp.innerHTML = node.innerHTML;
|
||||||
post = {
|
post = {
|
||||||
|
|||||||
@ -626,7 +626,7 @@ ExpandComment =
|
|||||||
return
|
return
|
||||||
|
|
||||||
doc = d.implementation.createHTMLDocument null
|
doc = d.implementation.createHTMLDocument null
|
||||||
doc.documentElement.innerHTML = req.responseText
|
doc.documentElement.innerHTML = req.response
|
||||||
|
|
||||||
Threading.op $('body > form', doc).firstChild
|
Threading.op $('body > form', doc).firstChild
|
||||||
# Import the node to fix quote.hashes
|
# Import the node to fix quote.hashes
|
||||||
@ -711,7 +711,7 @@ ExpandThread =
|
|||||||
a.textContent = a.textContent.replace '\u00d7 Loading...', '-'
|
a.textContent = a.textContent.replace '\u00d7 Loading...', '-'
|
||||||
|
|
||||||
doc = d.implementation.createHTMLDocument null
|
doc = d.implementation.createHTMLDocument null
|
||||||
doc.documentElement.innerHTML = req.responseText
|
doc.documentElement.innerHTML = req.response
|
||||||
|
|
||||||
nodes = []
|
nodes = []
|
||||||
for reply in $$ '.reply', doc
|
for reply in $$ '.reply', doc
|
||||||
@ -2194,7 +2194,7 @@ Updater =
|
|||||||
Updater.lastModified = @getResponseHeader 'Last-Modified'
|
Updater.lastModified = @getResponseHeader 'Last-Modified'
|
||||||
|
|
||||||
doc = d.implementation.createHTMLDocument null
|
doc = d.implementation.createHTMLDocument null
|
||||||
doc.documentElement.innerHTML = @responseText
|
doc.documentElement.innerHTML = @response
|
||||||
|
|
||||||
id = $('input', Updater.br.previousElementSibling).name
|
id = $('input', Updater.br.previousElementSibling).name
|
||||||
nodes = []
|
nodes = []
|
||||||
@ -2646,7 +2646,7 @@ QuoteInline =
|
|||||||
return
|
return
|
||||||
|
|
||||||
doc = d.implementation.createHTMLDocument null
|
doc = d.implementation.createHTMLDocument null
|
||||||
doc.documentElement.innerHTML = req.responseText
|
doc.documentElement.innerHTML = req.response
|
||||||
|
|
||||||
node =
|
node =
|
||||||
if id is threadID #OP
|
if id is threadID #OP
|
||||||
@ -2720,7 +2720,7 @@ QuotePreview =
|
|||||||
return
|
return
|
||||||
|
|
||||||
doc = d.implementation.createHTMLDocument null
|
doc = d.implementation.createHTMLDocument null
|
||||||
doc.documentElement.innerHTML = req.responseText
|
doc.documentElement.innerHTML = req.response
|
||||||
|
|
||||||
node =
|
node =
|
||||||
if id is threadID #OP
|
if id is threadID #OP
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user