Fix deleting file attachments without a draft.

Review Request #5320 — Created Jan. 24, 2014 and submitted

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.

david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Loading...