summaryrefslogtreecommitdiff
path: root/js/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-17 08:42:39 +0400
committerAndrew Dolgov <[email protected]>2013-04-17 08:42:39 +0400
commit2cbdc95bb00faad46df8976cf9b33e1bc188ec91 (patch)
treeb1360010f1477f41a126d911757535342cfc16dd /js/prefs.js
parent77be1217e5e559b6f972afc4d5506426692d50fe (diff)
add a separate tab for the logger
Diffstat (limited to 'js/prefs.js')
-rw-r--r--js/prefs.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/prefs.js b/js/prefs.js
index b1decede5..8612b70fb 100644
--- a/js/prefs.js
+++ b/js/prefs.js
@@ -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");