Move image scale into the ImageReviewableModel

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

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.
    Loading...