mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
Attempt 2: Notifications in the composebox
This moves the notify-not-in-view notifications into the composebox area. It also tries to be a bit smarter about what action it links and what it displays. (imported from commit 1c79bd0d9ef972059a006b17501a09b72e961ee3)
This commit is contained in:
@@ -199,7 +199,7 @@ exports.start = function (msg_type, opts) {
|
||||
if (reload.is_in_progress()) {
|
||||
return;
|
||||
}
|
||||
|
||||
notifications.clear_compose_notifications();
|
||||
$("#compose_close").show();
|
||||
$("#compose_controls").hide();
|
||||
$('.message_comp').show();
|
||||
@@ -248,6 +248,7 @@ function abort_xhr () {
|
||||
exports.cancel = function () {
|
||||
$("#compose_close").hide();
|
||||
clear_box();
|
||||
notifications.clear_compose_notifications();
|
||||
hide_box();
|
||||
abort_xhr();
|
||||
is_composing_message = false;
|
||||
|
||||
Reference in New Issue
Block a user