mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
show "Search" as placeholder
fix sometimes not modified <textbox by adding it to ADD_ET2_LEGACY_PREFIX_REGEXP too
This commit is contained in:
parent
7c925e5264
commit
79df51dbbb
@ -17,7 +17,7 @@ const ADD_ET2_PREFIX_REGEXP = '#<((/?)([vh]?box|date(-time[^\s]*|-duration|-sinc
|
||||
const ADD_ET2_PREFIX_LAST_GROUP = 6;
|
||||
|
||||
// unconditional of legacy add et2- prefix to this widgets
|
||||
const ADD_ET2_PREFIX_LEGACY_REGEXP = '#<(description|searchbox|label|avatar|lavatar|image|vfs-mime|vfs-uid|vfs-gid|link|link-[a-z]+|favorites)\s([^>]+)/>#m';
|
||||
const ADD_ET2_PREFIX_LEGACY_REGEXP = '#<(description|searchbox|textbox|label|avatar|lavatar|image|vfs-mime|vfs-uid|vfs-gid|link|link-[a-z]+|favorites)\s([^>]+)/>#m';
|
||||
const ADD_ET2_PREFIX_LEGACY_LAST_GROUP = 2;
|
||||
|
||||
// switch evtl. set output-compression off, as we can't calculate a Content-Length header with transparent compression
|
||||
|
@ -3325,7 +3325,8 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext
|
||||
self.nextmatch.applyFilters({search: this.get_value()});
|
||||
},
|
||||
value: settings.search || '',
|
||||
fix: !egwIsMobile()
|
||||
fix: !egwIsMobile(),
|
||||
placeholder: egw.lang("Search"),
|
||||
};
|
||||
// searchbox widget
|
||||
this.et2_searchbox = <Et2Searchbox>loadWebComponent('et2-searchbox', searchbox_options, this);
|
||||
|
Loading…
Reference in New Issue
Block a user