Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Blur the search field on submit -- Fixes #3303

(cherry picked from commit 336db34)
  • Loading branch information...
commit fef41bb7632ebef890f2c45a90818f8a158ce985 1 parent 8258425
@gseguin gseguin authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  js/widgets/listview.filter.js
View
3  js/widgets/listview.filter.js
@@ -30,6 +30,9 @@ $( document ).delegate( "ul, ol", "listviewcreate", function() {
var wrapper = $( "<form>", {
"class": "ui-listview-filter ui-bar-" + listview.options.filterTheme,
"role": "search"
+ }).submit( function( e ) {
+ e.preventDefault();
+ search.blur();
}),
search = $( "<input>", {
placeholder: listview.options.filterPlaceholder
Please sign in to comment.
Something went wrong with that request. Please try again.