Skip to content

Fix contacts menu for IE11#6795

Merged
blizzz merged 1 commit intomasterfrom
fix/contactsmenu-ie11
Oct 12, 2017
Merged

Fix contacts menu for IE11#6795
blizzz merged 1 commit intomasterfrom
fix/contactsmenu-ie11

Conversation

@ChristophWurst
Copy link
Member

IE11 triggers an 'input' event whenever an input is focussed
or loses focus. Thus this causes an endless loading loop as soon
as the view is re-rendered. To prevent this, this remembers the
previous search term and ignores events where the term has not
changed.

Fixes #5281

Tested with IE11 on Win10 and FF58 (nightly) on Linux.

IE11 triggers an 'input' event whenever an input is focussed
or loses focus. Thus this causes an endless loading loop as soon
as the view is re-rendered. To prevent this, this remembers the
previous search term and ignores events where the term has not
changed.

Fixes #5281

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@codecov
Copy link

codecov bot commented Oct 9, 2017

Codecov Report

Merging #6795 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #6795      +/-   ##
============================================
- Coverage     52.99%   52.99%   -0.01%     
  Complexity    22657    22657              
============================================
  Files          1430     1430              
  Lines         88070    88073       +3     
  Branches       1343     1344       +1     
============================================
- Hits          46677    46675       -2     
- Misses        41393    41398       +5
Impacted Files Coverage Δ Complexity Δ
core/js/contactsmenu.js 90% <0%> (-1.98%) 0 <0> (ø)
lib/private/Files/Cache/Propagator.php 94.93% <0%> (-1.27%) 16% <0%> (ø)
apps/files_trashbin/lib/Trashbin.php 72.28% <0%> (-0.25%) 136% <0%> (ø)

@rullzer
Copy link
Member

rullzer commented Oct 10, 2017

Nice stuff!
Should probably be backported ;)

Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no IE at hand, code looks good

@blizzz blizzz merged commit af4810d into master Oct 12, 2017
@blizzz blizzz deleted the fix/contactsmenu-ie11 branch October 12, 2017 13:38
@blizzz
Copy link
Member

blizzz commented Oct 12, 2017

@ChristophWurst you do the backporting?

@ChristophWurst
Copy link
Member Author

@ChristophWurst you do the backporting?

Sure: #6823

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments