Skip to content

Commit

Permalink
Fixed documentcloud#21: Clearing search should perform search event.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelclay committed Nov 24, 2011
1 parent c2ab97d commit 980f2a7
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 1 deletion.
Binary file modified build-min/dependencies.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion build-min/visualsearch.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified build-min/visualsearch.js.gz
Binary file not shown.
Binary file modified build-min/visualsearch_templates.js.gz
Binary file not shown.
1 change: 1 addition & 0 deletions build/visualsearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ VS.ui.SearchBox = Backbone.View.extend({
this.disableFacets();
this.value('');
this.flags.allSelected = false;
this.searchEvent(e);
this.focusSearch(e);
}, this);

Expand Down
1 change: 1 addition & 0 deletions lib/js/views/search_box.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ VS.ui.SearchBox = Backbone.View.extend({
this.disableFacets();
this.value('');
this.flags.allSelected = false;
this.searchEvent(e);
this.focusSearch(e);
}, this);

Expand Down

0 comments on commit 980f2a7

Please sign in to comment.