mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +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
@ -3328,7 +3328,10 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext
|
|||||||
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()
|
||||||
{
|
{
|
||||||
self.nextmatch.applyFilters({search: this.get_value()});
|
if(this.value !== this.nextmatch.activeFilters.search)
|
||||||
|
{
|
||||||
|
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