Index: /trunk/roundcubemail/program/steps/addressbook/func.inc
===================================================================
--- /trunk/roundcubemail/program/steps/addressbook/func.inc	(revision 3662)
+++ /trunk/roundcubemail/program/steps/addressbook/func.inc	(revision 3663)
@@ -51,7 +51,8 @@
 $OUTPUT->set_env('source', $source ? $source : '0');
 $OUTPUT->set_env('readonly', $CONTACTS->readonly, false);
-if(! $OUTPUT->ajax_call)
+if(! $OUTPUT->ajax_call) {
   $OUTPUT->set_env('address_sources', $js_list);
-
+  $OUTPUT->set_pagetitle(rcube_label('addressbook'));
+}
 
 function rcmail_directory_list($attrib)
@@ -225,7 +226,4 @@
   return $out;
   }
-
-
-$OUTPUT->set_pagetitle(rcube_label('addressbook'));
   
 // register UI objects
