Rename message content option to compose.start to content.

(imported from commit 4d609e6f6915af4474955b054d834efaba4327b9)
This commit is contained in:
Tim Abbott
2013-04-17 13:43:02 -04:00
parent bc60be9ad5
commit 679c409ca3
2 changed files with 3 additions and 3 deletions

View File

@@ -183,8 +183,8 @@ exports.start = function (msg_type, opts) {
compose.recipient(opts.private_message_recipient);
// If the user opens the compose box, types some text, and then clicks on a
// different stream/subject, we want to keep the text in the compose box
if (opts.message !== undefined) {
compose.message_content(opts.message);
if (opts.content !== undefined) {
compose.message_content(opts.content);
}
ui.change_tab_to("#home");