Fix Bug 38665 - Show clean 'x' icon on the search box only when useful
Change-Id: I3fc295728f25cce7a326101467146f8ee3415116
This commit is contained in:
@@ -123,15 +123,11 @@
|
||||
languages: that.languages,
|
||||
success: function() {
|
||||
// clear the search field.
|
||||
that.$languageFilter.val( '' );
|
||||
that.$languageFilter.languagefilter( 'clear' );
|
||||
that.success();
|
||||
}
|
||||
} );
|
||||
|
||||
$( '.clear-button' ).on( 'click', function() {
|
||||
// go to the ready state.
|
||||
that.ready();
|
||||
} );
|
||||
},
|
||||
|
||||
keyup: function( e ) {
|
||||
|
||||
Reference in New Issue
Block a user