diff options
author | Andrew Dolgov <[email protected]> | 2013-04-05 07:52:50 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-05 07:52:50 +0400 |
commit | bf8783388413a9f19b5b8ae4b998d10b93bf4617 (patch) | |
tree | d244a36540f2467bc26076d88719dc3d838d144e /js | |
parent | 1e2ce2905e3d912185d3e7bd4e6e1e239c1f97fc (diff) |
fix prefs reset not working properly
Diffstat (limited to 'js')
-rw-r--r-- | js/prefs.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/js/prefs.js b/js/prefs.js index b4ecd2584..b1decede5 100644 --- a/js/prefs.js +++ b/js/prefs.js @@ -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); } }); } |