Add field view getter to request editor

Review Request #9256 - Created Oct. 10, 2017 and updated

Erik Johansson
Review Board
release-3.0.x
fcd422f...
reviewboard

With the new getFieldView method, JavaScript code can get hold of the
view that handles editing for a given field ID, such as target_groups.

Unit tests.

  • 0
  • 0
  • 7
  • 0
  • 7
Description From Last Updated
Christian Hammond
Erik Johansson
Christian Hammond
Erik Johansson
Review request changed

Summary:

-Make it possible for JavaScript extensions to get field views.
+Add field view getter to request editor

Description:

~  

JavaScript extensions can use the getFieldView() method on

~   reviewRequestEditorView to get hold of a field view
  ~

With the new getFieldView method, JavaScript code can get hold of the

  ~ view that handles editing for a given field ID, such as target_groups.

-   (e.g. target_groups).

Branch:

-master
+release-3.0.x

Commit:

-773ed1d7e99d92354a5ed0a5e3ddf95a616d8e32
+fcd422f4b0d1e63ce7e37305696f8b3298ca2ec3

Diff:

Revision 3 (+27)

Show changes

Checks run (2 succeeded)

flake8 passed.
JSHint passed.
Loading...