Add review-ui URL field to FileAttachmentResource.

Review Request #3576 — Created Nov. 27, 2012 and submitted

Information

Review Board
release-1.7.x

Reviewers

Add review-ui URL field to FileAttachmentResource.

In order to properly link to the review UIs when adding file attachments through
javascript, I need to have a URL. If the given attachment doesn't have a review
UI, this URL will just be an empty string.
Set a breakpoint in the javascript that runs after a file attachment succeeds
and looked at the resulting object.
Description From Last Updated

Probably should use obj.pk

chipx86chipx86

Blank line between these.

chipx86chipx86
chipx86
  1. Two small things.
  2. reviewboard/webapi/resources.py (Diff revision 1)
     
     
    Show all issues
    Probably should use obj.pk
  3. reviewboard/webapi/resources.py (Diff revision 1)
     
     
     
    Show all issues
    Blank line between these.
  4. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-1.7.x (793c1cf).