mirror of https://github.com/zulip/zulip.git
Clear compose box when replying to a message
(imported from commit 1fe21a6d1a5f6f946e14583dc81ede961dbf57c9)
This commit is contained in:
parent
8f3aea5cbf
commit
084608ebda
|
@ -9,7 +9,7 @@ var globals =
|
|||
+ ' initial_pointer email stream_list people_list have_initial_messages'
|
||||
|
||||
// compose.js
|
||||
+ ' show_compose hide_compose toggle_compose compose_button'
|
||||
+ ' show_compose hide_compose toggle_compose clear_compose_box compose_button'
|
||||
+ ' composing_message compose_stream_name validate_message'
|
||||
+ ' status_classes'
|
||||
|
||||
|
|
|
@ -127,6 +127,7 @@ function get_huddle_recipient_names(message) {
|
|||
function respond_to_message(reply_type) {
|
||||
var message, tabname;
|
||||
message = message_dict[selected_message_id];
|
||||
clear_compose_box();
|
||||
if (message.type === "stream") {
|
||||
$("#stream").val(message.display_recipient);
|
||||
$("#subject").val(message.subject);
|
||||
|
|
Loading…
Reference in New Issue