Added function to reload render options with AJAX.

Review Request #10749 — Created Oct. 9, 2019 and updated — Latest diff uploaded

Information

Review Board
master

Reviewers

Individual review UIs that have dynamic render options can call this function,
and optionally pass in extra query parameters to send to the endpoint.

More details can be found here

  1. Ran JavaScript unit tests.
  2. Tested manually to make sure that the element to update actually gets
    updated by using a mock endpoint.
  3. Tested manually to make sure comments are correctly reattached after
    a request is finished.

Changes between revision 6 and 7

orig
1
2
3
4
5
6
7
8

Commits

Summary ID Author
Added function to reload render options with AJAX.
519bb71474bf32be0d0cc31e15aed8cb312e24ba amalik2
Added function to reload render options with AJAX.
ed125289f5e7224a7f2ed6ecd47a4d1feba34190 amalik2
reviewboard/admin/urls.py
reviewboard/static/rb/js/views/textBasedReviewableView.es6.js
Loading...