mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 20:21:29 +00:00
init readability tweaks
This commit is contained in:
@@ -2146,7 +2146,7 @@ function backend_sanity_check_callback(transport) {
|
|||||||
return init_offline();
|
return init_offline();
|
||||||
}
|
}
|
||||||
|
|
||||||
var reply = transport.responseXML.firstChild.firstChild;
|
var reply = transport.responseXML.getElementsByTagName("error")[0];
|
||||||
|
|
||||||
if (!reply) {
|
if (!reply) {
|
||||||
fatalError(3, "Sanity check: invalid RPC reply", transport.responseText);
|
fatalError(3, "Sanity check: invalid RPC reply", transport.responseText);
|
||||||
@@ -2161,7 +2161,7 @@ function backend_sanity_check_callback(transport) {
|
|||||||
|
|
||||||
console.log("sanity check ok");
|
console.log("sanity check ok");
|
||||||
|
|
||||||
var params = reply.nextSibling;
|
var params = transport.responseXML.getElementsByTagName("init-params")[0];
|
||||||
|
|
||||||
if (params) {
|
if (params) {
|
||||||
console.log('reading init-params...');
|
console.log('reading init-params...');
|
||||||
|
|||||||
Reference in New Issue
Block a user