mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Fix double nextmatch refresh if you search, press [Enter], then take focus out of the search
This commit is contained in:
parent
234b2c78b9
commit
12ef8163b4
@ -3327,8 +3327,11 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext
|
|||||||
id: "search",
|
id: "search",
|
||||||
overlay: (typeof settings.searchbox != 'undefined' && typeof settings.searchbox.overlay != 'undefined') ? settings.searchbox.overlay : false,
|
overlay: (typeof settings.searchbox != 'undefined' && typeof settings.searchbox.overlay != 'undefined') ? settings.searchbox.overlay : false,
|
||||||
onchange: function()
|
onchange: function()
|
||||||
|
{
|
||||||
|
if(this.value !== this.nextmatch.activeFilters.search)
|
||||||
{
|
{
|
||||||
self.nextmatch.applyFilters({search: this.get_value()});
|
self.nextmatch.applyFilters({search: this.get_value()});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
value: settings.search || '',
|
value: settings.search || '',
|
||||||
fix: !egwIsMobile(),
|
fix: !egwIsMobile(),
|
||||||
|
Loading…
Reference in New Issue
Block a user