diff options
-rw-r--r-- | settings/js/users/filter.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/settings/js/users/filter.js b/settings/js/users/filter.js index c5944e9b4b1..72f2cfc6d24 100644 --- a/settings/js/users/filter.js +++ b/settings/js/users/filter.js @@ -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; }; /** |