prefs system: load phpinfo using inline method

This commit is contained in:
Andrew Dolgov
2021-02-14 12:29:08 +03:00
parent 6b5c9c781b
commit 1c7e4782aa
3 changed files with 10 additions and 11 deletions
-2
View File
@@ -1032,7 +1032,6 @@ class Pref_Prefs extends Handler_Protected {
if (this.domNode.querySelector('.loading'))
window.setTimeout(() => {
xhrPost("backend.php", {op: 'pref-prefs', method: 'index_auth'}, (transport) => {
console.log(this);
this.attr('content', transport.responseText);
});
}, 100);
@@ -1047,7 +1046,6 @@ class Pref_Prefs extends Handler_Protected {
if (this.domNode.querySelector('.loading'))
window.setTimeout(() => {
xhrPost("backend.php", {op: 'pref-prefs', method: 'index_plugins'}, (transport) => {
console.log(this);
this.attr('content', transport.responseText);
});
}, 200);