Skip to content
Snippets Groups Projects
Commit 23e09be6 authored by Morris Jobke's avatar Morris Jobke
Browse files

fix placeholder fake in IE8 & 9 that brokes group listing in user management - fixes #12525

parent 5aad9025
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,14 @@ UserManagementFilter.prototype.run = _.debounce(function() {
* @returns string
*/
UserManagementFilter.prototype.getPattern = function() {
return this.filterInput.val();
var input = this.filterInput.val(),
html = $('html'),
isIE8or9 = html.hasClass('lte9');
// FIXME - TODO - once support for IE8 and IE9 is dropped
if(isIE8or9 && input == this.filterInput.attr('placeholder')) {
input = '';
}
return input;
};
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment