Fix errors when resizing the review request page.

Review Request #6294 — Created Sept. 3, 2014 and submitted

Information

Review Board
release-2.0.x
487b397...

Reviewers

The resize layout scheduling code, which has been fixed a couple
different times, was still broken. Resizing would end up calling
_scheduleResizeLayout with the window as the context. We now include
this function in the bindAll() in order to ensure the context is set
correctly.

Edited fields and resized windows. Saw that my console.log fired
correctly every time, and that the layout looked correct. Errors no
longer appeared in the console log about not being able to call apply.

reviewbot
  1. Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/js/views/reviewRequestEditorView.js
    
    
    
    Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/js/views/reviewRequestEditorView.js
    
    
  2. 
      
chipx86
david
  1. Ship It!

  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (6efb55c)
Loading...