Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

Resize loop #9

Merged
merged 4 commits into from
Jan 6, 2015
Merged

Resize loop #9

merged 4 commits into from
Jan 6, 2015

Conversation

meh-uk
Copy link
Contributor

@meh-uk meh-uk commented Jan 6, 2015

We had an issue (only in IE 8 AFAIK, its an old one) where resizing the grid from the window resize event caused an infinite loop where resizing the loop then called the window resize event again.

This protects against that.

Matthew Hutton and others added 4 commits August 28, 2012 11:04
Now contains a check that the width has actually changed before setting
the width. This stops an infinite loop of window.resize events being
thrown in IE if you set the grid width inside a window.resize event.
meh-uk added a commit that referenced this pull request Jan 6, 2015
Actually given I've see this exact issue in two entirely separate implementations of jqGrid several years apart, and I can't see any possible harm from it - I'm going to merge this, unless @OlegKi has a better solution :).
@meh-uk meh-uk merged commit 48e42c0 into openpsa:master Jan 6, 2015
meh-uk added a commit that referenced this pull request Jan 6, 2015
This reverts commit 48e42c0, reversing
changes made to a480670.
@meh-uk meh-uk modified the milestone: 1.0 Feb 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant