Always clear compose inputs on New Message.

(imported from commit 7c32f8bdc2366695c488563698c282d2f25b65a1)
This commit is contained in:
Jessica McKellar 2012-09-25 11:55:30 -04:00
parent 14ceb7e888
commit 455b9863d5
1 changed files with 1 additions and 1 deletions

View File

@ -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";