Set up listeners for searches.
This commit is contained in:
parent
435ef9218f
commit
c65f5b17b2
|
@ -108,7 +108,8 @@
|
|||
// this.listenTo( this.model, 'saved:rates', this.clearUnloadConfirmation );
|
||||
$tbody.on( 'change', { view : this }, this.updateModelOnChange );
|
||||
|
||||
$search_field.on( 'change search', this.updateUrl() );
|
||||
$search_field.on( 'keyup search', this.updateUrl() );
|
||||
$search_field.on( 'keyup search', this.render() );
|
||||
|
||||
$(window).on( 'beforeunload', { view : this }, this.unloadConfirmation );
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue