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:
Tim Abbott 2013-05-22 16:16:04 -04:00 committed by Steve Howell
parent 4558c5e008
commit 6100d61f8f
2 changed files with 0 additions and 13 deletions

View File

@ -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();

View File

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