Call success and update draft field when setting the close description.
Review Request #4504 — Created Aug. 28, 2013 and submitted
Call success and update draft field when setting the close description. The changeDescription field works kind of strangely when a review request is closed. Rather than setting a field in a draft and asking it to save, it calls close() with the new text. Unfortunately, the changeDescription field in reviewRequest.draft was getting out of sync (since it wasn't updated), and the success callback was never triggered. This fixes both those issues.
Used in conjunction with my markdown change.
Description | From | Last Updated |
---|---|---|
These are two separate things. Mind putting a blank line between them? |
chipx86 |
-
This is a review from Review Bot. Tool: Pyflakes Processed Files: Ignored Files: reviewboard/static/rb/js/models/reviewRequestEditorModel.js
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: Ignored Files: reviewboard/static/rb/js/models/reviewRequestEditorModel.js