Permalink
Browse files

Proposed fix for #4721: Added a "listviewbeforefilter" event

  • Loading branch information...
1 parent aca3959 commit f79a399dbe0e31efabd2ab9c06f48baf598b0568 @gseguin committed Jul 27, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 js/widgets/listview.filter.js
@@ -42,7 +42,10 @@ $( document ).delegate( ":jqmData(role='listview')", "listviewcreate", function(
lastval = $this.jqmData( "lastval" ) + "",
childItems = false,
itemtext = "",
- item;
+ item,
+ lbfEvent = new $.Event( "listviewbeforefilter" );
+
+ list.trigger( lbfEvent );
// Change val as lastval for next execution
$this.jqmData( "lastval" , val );

0 comments on commit f79a399

Please sign in to comment.