mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
subject -> topic: Rename compose fields.
The stream/topic edit areas now have these ids:
#stream_message_recipient_stream
#stream_message_recipient_topic
They are pretty verbose, but being able to grep
for these without noise does have some value.
This commit is contained in:
@@ -40,8 +40,8 @@ function get_or_set(fieldname, keep_leading_whitespace) {
|
||||
}
|
||||
|
||||
// TODO: Break out setters and getter into their own functions.
|
||||
exports.stream_name = get_or_set('stream');
|
||||
exports.topic = get_or_set('subject');
|
||||
exports.stream_name = get_or_set('stream_message_recipient_stream');
|
||||
exports.topic = get_or_set('stream_message_recipient_topic');
|
||||
// We can't trim leading whitespace in `compose_textarea` because
|
||||
// of the indented syntax for multi-line code blocks.
|
||||
exports.message_content = get_or_set('compose-textarea', true);
|
||||
|
||||
Reference in New Issue
Block a user