Use DraftResource.publish from the review dialog.

Review Request #7424 — Created June 13, 2015 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
ee53a2a...

Reviewers

The review dialog wasn't using the publish method to publish reviews, which
would still publish but would skip emitting the publishing and published
events. This made it hard to do things from extensions that relied on those
events.

I've also fixed up an incorrect comment and removed an unused var definition.

Used this from an extension and saw that the publishing event was successfully
triggered.

    Loading...