mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-23 07:34:43 +00:00
Merge pull request #1938 from adamvaughan/filterfix
Prevent submitting the listview filter form. Fixes #1068. Thanks adamvaughan!
This commit is contained in:
commit
8ec750ec65
1 changed files with 5 additions and 1 deletions
|
|
@ -100,7 +100,11 @@ $( ":jqmData(role='listview')" ).live( "listviewcreate", function() {
|
|||
wrapper.addClass( "ui-listview-filter-inset" );
|
||||
}
|
||||
|
||||
wrapper.insertBefore( list );
|
||||
wrapper
|
||||
.bind( "submit", function() {
|
||||
return false;
|
||||
})
|
||||
.insertBefore( list );
|
||||
});
|
||||
|
||||
})( jQuery );
|
||||
Loading…
Reference in a new issue