mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:15:55 +00:00
* switch to xhr.post() almost everywhere
* call App.handlerpcjson() automatically on json request (if possible) * show net/log indicators in prefs
This commit is contained in:
@@ -221,8 +221,8 @@ class Af_Proxy_Http extends Plugin {
|
||||
<script type="dojo/method" event="onSubmit" args="evt">
|
||||
evt.preventDefault();
|
||||
if (this.validate()) {
|
||||
xhrPost("backend.php", this.getValues(), (transport) => {
|
||||
Notify.info(transport.responseText);
|
||||
xhr.post("backend.php", this.getValues(), (reply) => {
|
||||
Notify.info(reply);
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user