mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 09:58:04 +02:00
Addressbook: Skip duplicate check in advanced search
This commit is contained in:
parent
396c537dd7
commit
973b86afb1
@ -716,15 +716,20 @@ class AddressbookApp extends EgwApp
|
|||||||
*/
|
*/
|
||||||
check_value(widget, own_id)
|
check_value(widget, own_id)
|
||||||
{
|
{
|
||||||
|
// Skip check in advanced search
|
||||||
|
if(this.et2.getArrayMgr("content").getEntry("showsearchbuttons") === true)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
// if we edit an account, call account_change to let it do it's stuff too
|
// if we edit an account, call account_change to let it do it's stuff too
|
||||||
if (this.et2.getWidgetById('account_lid'))
|
if(this.et2.getWidgetById('account_lid'))
|
||||||
{
|
{
|
||||||
this.account_change(null, widget);
|
this.account_change(null, widget);
|
||||||
}
|
}
|
||||||
|
|
||||||
var values = this.et2._inst.getValues(this.et2);
|
var values = this.et2._inst.getValues(this.et2);
|
||||||
|
|
||||||
if (widget.id.match(/n_/))
|
if(widget.id.match(/n_/))
|
||||||
{
|
{
|
||||||
var value = '';
|
var value = '';
|
||||||
if (values.n_prefix) value += values.n_prefix+" ";
|
if (values.n_prefix) value += values.n_prefix+" ";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user