fix for listview blank page, ui widget sets the data using the non namespaced fn. needs further consideration

This commit is contained in:
John Bender 2011-03-26 16:19:50 -07:00
parent 665e87dd5b
commit 0c59d527c3

View file

@ -10,7 +10,7 @@ $.mobile.listview.prototype.options.filter = false;
$( ":jqmData(role='listview')" ).live( "listviewcreate", function() {
var list = $( this ),
listview = list.jqmData( "listview" );
listview = list.data( "listview" );
if ( !listview.options.filter ) {
return;