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:
9
prefs.js
9
prefs.js
@@ -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();
|
||||
}
|
||||
} });
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user