mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 17:55: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:
@@ -55,8 +55,8 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f
|
||||
return rv;
|
||||
},
|
||||
reload: function() {
|
||||
xhrPost("backend.php", { op: "pref-labels" }, (transport) => {
|
||||
dijit.byId('labelsTab').attr('content', transport.responseText);
|
||||
xhr.post("backend.php", { op: "pref-labels" }, (reply) => {
|
||||
dijit.byId('labelsTab').attr('content', reply);
|
||||
Notify.close();
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user