Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #4760 from gseguin/issue-4721

Proposed fix for #4721: Added a "listviewbeforefilter" event
  • Loading branch information...
commit 9ea70dfd99fadb8494429c76bb358305dfff2583 2 parents 35d3e9c + 6f9e2bb
@gseguin gseguin authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  js/widgets/listview.filter.js
View
2  js/widgets/listview.filter.js
@@ -44,6 +44,8 @@ $( document ).delegate( ":jqmData(role='listview')", "listviewcreate", function(
itemtext = "",
item;
+ listview._trigger( "beforefilter", "beforefilter", { input: this } );
+
// Change val as lastval for next execution
$this.jqmData( "lastval" , val );
if ( val.length < lastval.length || val.indexOf( lastval ) !== 0 ) {

0 comments on commit 9ea70df

Please sign in to comment.
Something went wrong with that request. Please try again.