mirror of https://github.com/zulip/zulip.git
Always clear compose inputs on New Message.
(imported from commit 7c32f8bdc2366695c488563698c282d2f25b65a1)
This commit is contained in:
parent
14ceb7e888
commit
455b9863d5
|
@ -112,6 +112,7 @@ function sub(zephyr_class) {
|
|||
}
|
||||
|
||||
function compose_button() {
|
||||
clear_compose_box();
|
||||
$('#sidebar a[href="#home"]').tab('show');
|
||||
show_compose('class', $("#class"));
|
||||
}
|
||||
|
@ -209,7 +210,6 @@ $(function () {
|
|||
.text('Sent message')
|
||||
.stop(true).fadeTo(0,1).delay(250).fadeOut(250, hide_compose);
|
||||
buttons.removeAttr('disabled');
|
||||
clear_compose_box();
|
||||
},
|
||||
error: function (xhr) {
|
||||
var response = "Error sending message";
|
||||
|
|
Loading…
Reference in New Issue