mozilla-b2g/gaia — pull request #14083 by Protonk (2013-11-26 21:22:58+00:00)
Title: Bug 936648 - [Messages][Drafts] Draft display and interaction within a thread

drafts.js:
* Add `Drafts.has(id)` to check if a draft exists in the index

compose.js
* Add `Compose.getDraft(id)` to render a draft for specified id into the message composer
* Not sure yet if compose is the best place for this but code can be moved to message_manager easily if needed

thread_ui.js
* Render draft content when thread is rendered