mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-06 11:12:38 +01:00
Raise resultlimit in felamimail AJAX addressbooksearch for mail compose and make resultarea scrollable if needed
This commit is contained in:
parent
59b6aafc8a
commit
dea97a8f05
felamimail
@ -28,7 +28,7 @@
|
|||||||
'n_fn' => $_searchString,
|
'n_fn' => $_searchString,
|
||||||
'email' => $_searchString,
|
'email' => $_searchString,
|
||||||
'email_home' => $_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
|
// additionally search the accounts, if the contact storage is not the account storage
|
||||||
if ($GLOBALS['egw_info']['server']['account_repository'] == 'ldap' &&
|
if ($GLOBALS['egw_info']['server']['account_repository'] == 'ldap' &&
|
||||||
@ -38,7 +38,7 @@
|
|||||||
'n_fn' => $_searchString,
|
'n_fn' => $_searchString,
|
||||||
'email' => $_searchString,
|
'email' => $_searchString,
|
||||||
'email_home' => $_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)
|
if ($contacts && $accounts)
|
||||||
{
|
{
|
||||||
|
@ -272,6 +272,7 @@ function displayResultBox() {
|
|||||||
resultBox.style.top=top + 'px';
|
resultBox.style.top=top + 'px';
|
||||||
resultBox.style.left=left + 'px';
|
resultBox.style.left=left + 'px';
|
||||||
resultBox.style.width=width + 'px';
|
resultBox.style.width=width + 'px';
|
||||||
|
resultBox.scrollTop=0;
|
||||||
|
|
||||||
resultBox.className = 'resultBoxVisible';
|
resultBox.className = 'resultBoxVisible';
|
||||||
}
|
}
|
||||||
|
@ -382,6 +382,8 @@ div.resultBoxVisible {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
background: white;
|
background: white;
|
||||||
|
max-height: 25%;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
button.menuButton {
|
button.menuButton {
|
||||||
|
@ -409,6 +409,8 @@ div.resultBoxVisible {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
background: white;
|
background: white;
|
||||||
|
max-height: 25%;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
button.menuButton {
|
button.menuButton {
|
||||||
|
Loading…
Reference in New Issue
Block a user