Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 26cb01f4bc6a9d43f71c2e03483434c006315cf6 1 parent 6930c30
@jaspermdegroot jaspermdegroot authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/widgets/listview.filter.js
View
2  js/widgets/listview.filter.js
@@ -18,7 +18,7 @@ var defaultFilterCallback = function( text, searchValue, item ) {
$.mobile.listview.prototype.options.filterCallback = defaultFilterCallback;
-$( document ).delegate( ":jqmData(role='listview')", "listviewcreate", function() {
+$( document ).delegate( "ul, ol", "listviewcreate", function() {
var list = $( this ),
listview = list.data( "listview" );
Please sign in to comment.
Something went wrong with that request. Please try again.