• 
      

    Fix deleting file attachments without a draft.

    Review Request #5320 — Created Jan. 25, 2014 and submitted — Latest diff uploaded

    Information

    Review Board
    master

    Reviewers

    Fix deleting file attachments without a draft.

    File attachment deletion was broken without a draft, since destroy()
    doesn't call ready() first, causing the draft to never be created. Now
    destroy() does an ensureCreated() on the draft.

    Successfully deleted an attachment without an existing draft, and with one.