Fix javascript error on serachbox

Remove overlay option from addressbook
This commit is contained in:
Hadi Nategh 2016-02-29 14:19:33 +00:00
parent 794a2082f2
commit 45e7142b09
2 changed files with 2 additions and 3 deletions

View File

@ -239,8 +239,7 @@ class addressbook_ui extends addressbook_bo
'is_parent' => 'org_count',
'parent_id' => 'parent_id',
'favorites' => true,
'placeholder_actions' => array('add'),
'searchbox' => array('overlay' => true)
'placeholder_actions' => array('add')
);
if ($do_email)

View File

@ -483,7 +483,7 @@ var et2_searchbox = et2_textbox.extend(
this.search.input.on({
keyup:function(event)
{
self.clear.toggle(self.get_value() !='' || !this.options.fix);
self.clear.toggle(self.get_value() !='' || !self.options.fix);
if(event.which == 27) // Escape
{
// Excape clears search