Fix searchbox does not collapse after reload and fix close button padding

This commit is contained in:
Hadi Nategh 2016-02-19 13:45:20 +00:00
parent 4bcfd7f428
commit a765e1496d
2 changed files with 5 additions and 1 deletions

View File

@ -540,7 +540,7 @@ var et2_searchbox = et2_textbox.extend(
else
{
jQuery(this.button.getDOMNode()).addClass('toolbar_toggled');
this.button.set_statustext(egw.lang('search for ')+this.get_value());
this.button.set_statustext(egw.lang("search for '%1'", this.get_value()));
}
},
@ -574,6 +574,7 @@ var et2_searchbox = et2_textbox.extend(
this._show_hide(false);
}
else{
this._show_hide(!this.options.overlay);
this._searchToggleState();
}
}

View File

@ -2346,6 +2346,9 @@ td.avatar {
width: 150px;
position: absolute;
}
.et2_searchbox .flex.overlay span.ui-icon.clear {
right: 0;
}
.et2_searchbox .hide {
display: none !important;
}