mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
Clear compose error messages on New Message or message type tab toggle.
Also highlight a useful input box on tab toggle. (imported from commit e046cd077039b42069e866267038b92536a05e1b)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
var status_classes = 'alert-error alert-success alert-info';
|
||||
|
||||
function show_compose(tabname, focus_area) {
|
||||
$("#send-status").removeClass(status_classes).hide();
|
||||
$('#compose').css({visibility: "visible"});
|
||||
$('.message_comp').slideDown(100);
|
||||
$('#message-type-tabs a[href="#' + tabname + '-message"]').tab('show');
|
||||
|
||||
Reference in New Issue
Block a user