summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-25 09:20:28 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-25 09:20:28 +0000
commit12db2dc486f83fd481bb40720aba71d846f40821 (patch)
tree43c94e2caf6541e7a5c7fad4f182a29aef908254
parentea519689c33a996ed0cfbca2047ae0f73c1af7fe (diff)
- don't set pagetitle in ajax requests
git-svn-id: https://svn.roundcube.net/trunk@3663 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/addressbook/func.inc8
1 files changed, 3 insertions, 5 deletions
diff --git a/roundcubemail/program/steps/addressbook/func.inc b/roundcubemail/program/steps/addressbook/func.inc
index 060185010..c044fc331 100644
--- a/roundcubemail/program/steps/addressbook/func.inc
+++ b/roundcubemail/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(