Fix loading of serialized comments for the image review UI.

Review Request #8573 — Created Dec. 14, 2016 and submitted

Information

Review Board
release-3.0.x
d4f17f9...

Reviewers

The image review UI sends its serialized comments as an object rather than an
array, which wasn't at all clear from the code, and only emerged when I
actually tried to use it. I've changed the code back to using _.each to
iterate over it, and added a comment as to why.

Was able to use the image review UI again.

brennie
  1. Ship It!
  2. 
      
reviewbot
  1. Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/js/models/abstractReviewableModel.es6.js
    
    
    
    Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/js/models/abstractReviewableModel.es6.js
    
    
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (1f0e3a3)
Loading...