summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/func.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/addressbook/func.inc')
-rw-r--r--program/steps/addressbook/func.inc8
1 files changed, 3 insertions, 5 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc
index 060185010..c044fc331 100644
--- a/program/steps/addressbook/func.inc
+++ b/program/steps/addressbook/func.inc
@@ -50,9 +50,10 @@ if (!empty($_REQUEST['_search']) && isset($_SESSION['search'][$_REQUEST['_search
// set data source env
$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)
{
@@ -224,9 +225,6 @@ function rcmail_get_rowcount_text()
return $out;
}
-
-
-$OUTPUT->set_pagetitle(rcube_label('addressbook'));
// register UI objects
$OUTPUT->add_handlers(array(