Fix deleting file attachments without a draft.
Review Request #5320 — Created Jan. 24, 2014 and submitted
Fix deleting file attachments without a draft.
File attachment deletion was broken without a draft, since
destroy()
doesn't callready()
first, causing the draft to never be created. Now
destroy()
does anensureCreated()
on the draft.
Successfully deleted an attachment without an existing draft, and with one.