Remove searchbar from narrowed view.

Today I'm of the mindset that searching is a fundamentally
distinct operation than narrowing, so this reflects that.
(There would be a separate screen and UI for searching,
 I guess.)

(imported from commit 432a4088612dafd06184bec228b63056961325dd)
This commit is contained in:
Waseem Daher
2012-09-13 10:36:29 -04:00
parent 51e109d043
commit 3e5008b143
3 changed files with 4 additions and 10 deletions

View File

@@ -372,7 +372,7 @@ function do_narrow(description, filter_function) {
scroll_to_selected();
$("#show_all_messages").removeAttr("disabled");
$("div.searchbox").show();
$("div.narrowbox").show();
$("#currently_narrowed_to").html(description);
}
@@ -444,7 +444,7 @@ function show_all_messages() {
scroll_to_selected();
$("div.searchbox").hide();
$("div.narrowbox").hide();
$("#show_all_messages").attr("disabled", "disabled");
$("#currently_narrowed_to").html("");
}