Raise resultlimit in felamimail AJAX addressbooksearch for mail compose and make resultarea scrollable if needed

This commit is contained in:
Christian Binder 2010-06-17 18:34:23 +00:00
parent 59b6aafc8a
commit dea97a8f05
4 changed files with 7 additions and 2 deletions

View File

@ -28,7 +28,7 @@
'n_fn' => $_searchString,
'email' => $_searchString,
'email_home' => $_searchString,
),array('n_fn','email','email_home'),'n_fn','','%',false,'OR',array(0,20));
),array('n_fn','email','email_home'),'n_fn','','%',false,'OR',array(0,100));
// additionally search the accounts, if the contact storage is not the account storage
if ($GLOBALS['egw_info']['server']['account_repository'] == 'ldap' &&
@ -38,7 +38,7 @@
'n_fn' => $_searchString,
'email' => $_searchString,
'email_home' => $_searchString,
),array('n_fn','email','email_home'),'n_fn','','%',false,'OR',array(0,20),array('owner' => 0));
),array('n_fn','email','email_home'),'n_fn','','%',false,'OR',array(0,100),array('owner' => 0));
if ($contacts && $accounts)
{

View File

@ -272,6 +272,7 @@ function displayResultBox() {
resultBox.style.top=top + 'px';
resultBox.style.left=left + 'px';
resultBox.style.width=width + 'px';
resultBox.scrollTop=0;
resultBox.className = 'resultBoxVisible';
}

View File

@ -382,6 +382,8 @@ div.resultBoxVisible {
position: absolute;
display: block;
background: white;
max-height: 25%;
overflow: auto;
}
button.menuButton {

View File

@ -409,6 +409,8 @@ div.resultBoxVisible {
position: absolute;
display: block;
background: white;
max-height: 25%;
overflow: auto;
}
button.menuButton {