diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-03 08:41:13 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-03 08:41:13 +0000 |
| commit | a28be50f9348de6d65abf8ef58b5b0cf4744b313 (patch) | |
| tree | aa19e40d3de51433879c64d188dff5800517286a /roundcubemail/program/steps/settings | |
| parent | b319092b299b9420a3645243d0cf9fbfa0e7dc3b (diff) | |
- Reload UI after skin change
git-svn-id: https://svn.roundcube.net/trunk@5535 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings')
| -rw-r--r-- | roundcubemail/program/steps/settings/save_prefs.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/settings/save_prefs.inc b/roundcubemail/program/steps/settings/save_prefs.inc index d917e1157..f5f3e36d3 100644 --- a/roundcubemail/program/steps/settings/save_prefs.inc +++ b/roundcubemail/program/steps/settings/save_prefs.inc @@ -145,6 +145,8 @@ switch ($CURR_SECTION) // switch skin (if valid, otherwise unset the pref and fall back to default) if (!$OUTPUT->set_skin($a_user_prefs['skin'])) unset($a_user_prefs['skin']); + else if ($RCMAIL->config->get('skin') != $a_user_prefs['skin']) + $OUTPUT->command('reload', 500); // force min size if ($a_user_prefs['pagesize'] < 1) |
