From 6100d61f8fcfd3a0a0c525236107b0ca75277bfe Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 22 May 2013 16:16:04 -0400 Subject: [PATCH] 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) --- zephyr/static/js/ui.js | 7 ------- zephyr/static/templates/actions_popover_content.handlebars | 6 ------ 2 files changed, 13 deletions(-) diff --git a/zephyr/static/js/ui.js b/zephyr/static/js/ui.js index e884605f71..809dc00dde 100644 --- a/zephyr/static/js/ui.js +++ b/zephyr/static/js/ui.js @@ -1447,13 +1447,6 @@ $(function () { narrow.by_recipient(msgid, {trigger: 'popover'}); 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) { var msgid = $(e.currentTarget).data('msgid'); ui.hide_actions_popover(); diff --git a/zephyr/static/templates/actions_popover_content.handlebars b/zephyr/static/templates/actions_popover_content.handlebars index 3d8f4a7e2c..12431dc34e 100644 --- a/zephyr/static/templates/actions_popover_content.handlebars +++ b/zephyr/static/templates/actions_popover_content.handlebars @@ -46,12 +46,6 @@ {{/if}} -
  • - - - Narrow to messages sent by {{message.sender_full_name}} - -
  • {{#if narrowed}}