summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-05-29 07:36:53 +0000
committeralecpl <alec@alec.pl>2008-05-29 07:36:53 +0000
commit681969e95fa354fff271518ee2d1d15ad3ae9016 (patch)
tree264cc72283a7e6f215c5c4485a0b2ec035332967
parent0e6bdbe8f5bffb45c035444ee8d579503d9ca173 (diff)
-don't set Preferences pagetitle in ajax calls
-rw-r--r--program/steps/settings/func.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index d303565a8..5c6485734 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -19,7 +19,8 @@
*/
-$OUTPUT->set_pagetitle(rcube_label('preferences'));
+if (!$OUTPUT->ajax_call)
+ $OUTPUT->set_pagetitle(rcube_label('preferences'));
function rcmail_user_prefs_form($attrib)