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

fix prefs reset not working properly

This commit is contained in:
Andrew Dolgov
2013-04-05 07:52:50 +04:00
parent 1e2ce2905e
commit bf87833884
2 changed files with 4 additions and 7 deletions

View File

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