mirror of https://github.com/zulip/zulip.git
Remove 'narrow to messages sent by' from message popover.
Now that this functionality is accessible from the right sidebar, we don't really need it here. (imported from commit 34eaef4e1200f9fc673a681f0be87d8008033e83)
This commit is contained in:
parent
4558c5e008
commit
6100d61f8f
|
@ -1447,13 +1447,6 @@ $(function () {
|
||||||
narrow.by_recipient(msgid, {trigger: 'popover'});
|
narrow.by_recipient(msgid, {trigger: 'popover'});
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
$('body').on('click', '.popover_narrow_by_sender_button', function (e) {
|
|
||||||
var msgid = $(e.currentTarget).data('msgid');
|
|
||||||
var sender_email = $(e.currentTarget).data('sender_email');
|
|
||||||
ui.hide_actions_popover();
|
|
||||||
narrow.by('sender', sender_email, {then_select_id: msgid, trigger: 'popover'});
|
|
||||||
e.stopPropagation();
|
|
||||||
});
|
|
||||||
$('body').on('click', '.popover_narrow_by_time_travel_button', function (e) {
|
$('body').on('click', '.popover_narrow_by_time_travel_button', function (e) {
|
||||||
var msgid = $(e.currentTarget).data('msgid');
|
var msgid = $(e.currentTarget).data('msgid');
|
||||||
ui.hide_actions_popover();
|
ui.hide_actions_popover();
|
||||||
|
|
|
@ -46,12 +46,6 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<li>
|
|
||||||
<a class="popover_narrow_by_sender_button" data-msgid="{{message.id}}" data-sender_email="{{message.sender_email}}">
|
|
||||||
<i class="icon-user"></i>
|
|
||||||
Narrow to messages sent by <b>{{message.sender_full_name}}</b>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
{{#if narrowed}}
|
{{#if narrowed}}
|
||||||
<li>
|
<li>
|
||||||
|
|
Loading…
Reference in New Issue