Convert field save operations to return promises.

Review Request #11639 — Created June 1, 2021 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

This change updates the review request field views to use promises for
the save operations instead of callbacks.

  • Ran js-tests.
  • Updated various fields on review requests and checked that everything
    worked properly.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3

Commits

First Last Summary ID Author
Convert field save operations to return promises.
This change updates the review request field views to use promises for the save operations instead of callbacks. Testing Done: - Ran js-tests. - Updated various fields on review requests and checked that everything worked properly.
f5045b54dad93852992b62858253d97a69515b9d David Trowbridge
reviewboard/static/rb/js/models/reviewRequestEditorModel.es6.js
reviewboard/static/rb/js/models/tests/reviewRequestEditorModelTests.es6.js
reviewboard/static/rb/js/views/reviewRequestFieldViews.es6.js
reviewboard/static/rb/js/views/tests/reviewRequestEditorViewTests.es6.js
reviewboard/static/rb/js/views/tests/reviewRequestFieldViewsTests.es6.js
Loading...