Fix the revision selector on IE 9/10/11.

Review Request #6230 — Created Aug. 14, 2014 and submitted

Information

Review Board
release-2.0.x
3b359dd...

Reviewers

The code for the revision selector used a property for the page scroll
offset that wasn't standard across all browsers. That property is just
an alias for the actual standard property, pageXOffset. Switching to
this fixes the revision slider on IE.

Tested in IE 9, 10 and 11 compatibility modes, using IE11. I was able to
change the slider however I liked, and the page updated.

Tested in Chrome and Firefox.

reviewbot
  1. Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/js/diffviewer/views/diffRevisionSelectorView.js
    
    
    
    Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/js/diffviewer/views/diffRevisionSelectorView.js
    
    
  2. 
      
david
  1. Can you also test in chrome and firefox?

    1. Sorry, left that out, but I did test. I had all 3 browsers open while doing the IE work.

  2. 
      
chipx86
david
  1. Ship It!

  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (da06e02)
Loading...