mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Enable overlay attribute for addressbook's searchbox
This commit is contained in:
parent
5612a16c76
commit
d5f0727b2e
@ -239,7 +239,8 @@ class addressbook_ui extends addressbook_bo
|
|||||||
'is_parent' => 'org_count',
|
'is_parent' => 'org_count',
|
||||||
'parent_id' => 'parent_id',
|
'parent_id' => 'parent_id',
|
||||||
'favorites' => true,
|
'favorites' => true,
|
||||||
'placeholder_actions' => array('add')
|
'placeholder_actions' => array('add'),
|
||||||
|
'searchbox' => array('overlay' => true)
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($do_email)
|
if ($do_email)
|
||||||
|
@ -2292,7 +2292,7 @@ var et2_nextmatch_header_bar = et2_DOMWidget.extend(et2_INextmatchHeader,
|
|||||||
// searchbox widget options
|
// searchbox widget options
|
||||||
var searchbox_options = {
|
var searchbox_options = {
|
||||||
id:"search",
|
id:"search",
|
||||||
overlay:(typeof settings.searchbox != 'undefined' && typeof settings.searchbox.overlay != 'undefined')?settings.searchbox.overlay:true,
|
overlay:(typeof settings.searchbox != 'undefined' && typeof settings.searchbox.overlay != 'undefined')?settings.searchbox.overlay:false,
|
||||||
onchange:function(){
|
onchange:function(){
|
||||||
self.nextmatch.applyFilters({search: this.get_value()});
|
self.nextmatch.applyFilters({search: this.get_value()});
|
||||||
},
|
},
|
||||||
|
@ -421,8 +421,8 @@ var et2_searchbox = et2_textbox.extend(
|
|||||||
overlay:{
|
overlay:{
|
||||||
name:"Overlay searchbox",
|
name:"Overlay searchbox",
|
||||||
type:"boolean",
|
type:"boolean",
|
||||||
default:true,
|
default:false,
|
||||||
description:"Define wheter the searchbox overlays while it's open (true) or stay as solid box infront of the search button (false). Default is true."
|
description:"Define wheter the searchbox overlays while it's open (true) or stay as solid box infront of the search button (false). Default is false."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user