Defect #3405
closed
Calendar control missplacement with IE7
Added by Chris Martin over 15 years ago.
Updated almost 12 years ago.
Description
Not sure if someone else already logged this. Searches didn't come up with anything. I'm using IE 7. When i click on the calendar popup
While the scroll bar is at the bottom of the screen, the calendar popup appears in the wrong spot. It's almost as if the placement does not account for vertical scrollbar shift.
Files
- Subject changed from Calendar control missplacement to Calendar control missplacement with IE7
I've upgraded by browser to firefox, it's working fine there :D
- % Done changed from 0 to 80
We have fixed it in local instance.
Modifyed file:
public\javascripts\calendar.js
Change in "function fixPosition(box)":
Replace:
br.y += document.body.scrollTop;
br.x += document.body.scrollLeft;
with:
scrollTop = (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
scrollLeft = (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft);
br.y += scrollTop;
br.x += scrollLeft;
Can someone upload this change?
- Category changed from Issues to UI
- Status changed from New to Needs feedback
This works fine for me in Redmine 2.2.1 with IE9, FF 17 and Chrome 23.
I think this is resolved due to some jQuery UI changes. This Bug seems to be resolved. Anyone can test this with older browser versions?
Looks fixed. I have not noticed problem on latest Redmine versions anymore.
I'll see if i can test this out tomorrow and see how it behaves in IE 7
Chris Martin wrote:
I'll see if i can test this out tomorrow and see how it behaves in IE 7
This would be great. I currently haven't any IE 7 to test this.
Tested with 2.1.2 and it's working great.
- Status changed from Needs feedback to Closed
- Resolution set to Fixed
Great. Thanks for your test Chris!
This should be fixed.
Also available in: Atom
PDF