1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 14:55:56 +00:00

misc prefs tweaks

This commit is contained in:
Andrew Dolgov
2010-01-13 18:57:48 +03:00
parent de0a6d930a
commit 1a697fa300
2 changed files with 22 additions and 10 deletions

View File

@@ -1270,8 +1270,13 @@ function validatePrefsReset() {
new Ajax.Request("backend.php", {
parameters: query,
onComplete: function(transport) {
notify_info(transport.responseText);
selectTab();
var msg = transport.responseText;
if (msg.match("PREFS_THEME_CHANGED")) {
window.location.reload();
} else {
notify_info(msg);
selectTab();
}
} });
}