Move image scale into the ImageReviewableModel

Review Request #8400 — Created Sept. 16, 2016 and submitted

Information

Review Board
release-3.0.x

Reviewers

The image scale is now stored in the RB.ImageReviewableModel instead
of being a property of the views. This method allows us to listen for
changes to the image scale, as well as set it programmatically and have
the UI update.

  • Ran JS tests.
  • Ensured that changing the image scale still worked and the UI still
    updated. Comment boxes still scale appropriately.
david
  1. Ship It!
  2. 
      
chipx86
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (d7560c2)