diff options
author | Andrew Dolgov <[email protected]> | 2021-02-19 11:28:14 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-19 11:28:14 +0300 |
commit | bb4e4282f46824308aebc2eaeac29fa29f8687ad (patch) | |
tree | 8355547f2cf4baefc4a41146d27dcbd3240f724a /classes/pref | |
parent | 6b43b788d909ce20f07f29f9f3ccd2f6a8715616 (diff) |
migrate a bunch of xhrPost invocations
Diffstat (limited to 'classes/pref')
-rw-r--r-- | classes/pref/system.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref/system.php b/classes/pref/system.php index a4a072ea9..bc519a321 100644 --- a/classes/pref/system.php +++ b/classes/pref/system.php @@ -165,8 +165,8 @@ class Pref_System extends Handler_Administrative { <script type='dojo/method' event='onSelected' args='evt'> if (this.domNode.querySelector('.loading')) window.setTimeout(() => { - xhrPost("backend.php", {op: 'pref-system', method: 'getphpinfo'}, (transport) => { - this.attr('content', `<div class='phpinfo'>${transport.responseText}</div>`); + xhr.post("backend.php", {op: 'pref-system', method: 'getphpinfo'}, (reply) => { + this.attr('content', `<div class='phpinfo'>${reply}</div>`); }); }, 200); </script> |