Pass extension instance to JS hook views

Review Request #8594 — Created Jan. 5, 2017 and submitted

Information

Review Board
master
a2d7aae...

Reviewers

This makes it easy to pass e.g. extra model data from Python
JSExtension::get_model_data() to the view.

Verified that the extension instance is available in a ReviewDialogHookView.

reviewbot
  1. Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/js/views/reviewDialogView.es6.js
        reviewboard/static/rb/js/views/commentDialogView.js
    
    
    
    Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/js/views/reviewDialogView.es6.js
        reviewboard/static/rb/js/views/commentDialogView.js
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
erijo
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (5e38d17)