1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:05:56 +00:00

add a separate tab for the logger

This commit is contained in:
Andrew Dolgov
2013-04-17 08:42:39 +04:00
parent 77be1217e5
commit 2cbdc95bb0
4 changed files with 92 additions and 45 deletions

View File

@@ -852,6 +852,15 @@ function updatePrefsList() {
} });
}
function updateSystemList() {
new Ajax.Request("backend.php", {
parameters: "?op=pref-system",
onComplete: function(transport) {
dijit.byId('systemConfigTab').attr('content', transport.responseText);
notify("");
} });
}
function selectTab(id, noupdate, method) {
try {
if (!noupdate) {
@@ -867,6 +876,8 @@ function selectTab(id, noupdate, method) {
updatePrefsList();
} else if (id == "userConfig") {
updateUsersList();
} else if (id == "systemConfig") {
updateSystemList();
}
var tab = dijit.byId(id + "Tab");