Permalink
Browse files

Listview: make it possible to set option filter programmatically. Fixes

  • Loading branch information...
jaspermdegroot committed Nov 2, 2012
1 parent 82701e5 commit 5b537cae816ffce204a91c8e5a67c77a888d0081
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.listview.filter.js
@@ -15,7 +15,7 @@ $.mobile.listview.prototype.options.filterCallback = function( text, searchValue
return text.toLowerCase().indexOf( searchValue ) === -1;
};
$( document ).delegate( ":jqmData(role='listview')", "listviewcreate", function() {
$( document ).delegate( "ul, ol", "listviewcreate", function() {
var list = $( this ),
listview = list.data( "listview" );

0 comments on commit 5b537ca

Please sign in to comment.