Fix the change description boxes to allow collapsing/expanding.

Review Request #4200 — Created June 3, 2013 and submitted

Information

Review Board
master

Reviewers

Fix the change description boxes to allow collapsing/expanding.

Review boxes were made collapsable/expandable, but this didn't end up
applying to change description boxes.

Now there's a base view called CollapsableBoxView that handles
everything having to do with collapse state. ReviewBox inherits from
this.

ReviewBoxListView sets up a CollapsableBoxView for every change box on
the page.
Tested expanding/collapsing individual review boxes, change description
boxes, and all at once.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/settings.py
      Ignored Files:
        reviewboard/templates/reviews/review_detail.html
        reviewboard/static/rb/js/views/reviewBoxView.js
        reviewboard/static/rb/js/views/collapsableBoxView.js
        reviewboard/static/rb/js/views/reviewBoxListView.js
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed