X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fdisplay_prefs.php;h=cafb4527dbced802e896b8553edb2e7e7a4c2ee0;hb=7e4a25e77c81fb5daabe53f83cc10c147808fd01;hp=01ee7b68202300383f7e7ca65bb8fb52c32769a3;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/admin/display_prefs.php b/admin/display_prefs.php index 01ee7b68..cafb4527 100644 --- a/admin/display_prefs.php +++ b/admin/display_prefs.php @@ -25,9 +25,11 @@ if (isset($_POST['setprefs'])) $_POST['theme'], $_POST['page_size']); language::set_language($_POST['language']); - + + flush_dir($comp_path.'/'.user_company().'/js_cache'); + if (user_theme() != $theme) - Redirect(""); + reload_page(""); display_notification_centered(_("Display settings have been updated.")); }