diff options
author | Raghu Nayyar <me@iraghu.com> | 2014-12-06 11:54:31 +0530 |
---|---|---|
committer | Raghu Nayyar <me@iraghu.com> | 2014-12-06 11:54:31 +0530 |
commit | bfb519cced9713416fa4af753aa39ee42b468268 (patch) | |
tree | 2cc833ba1b703584e7152536e2edd4b59f7de9ce | |
parent | e47f4758f2f178c4c75bb1641674d7a6bf960f61 (diff) | |
parent | 23e09be65f4ff900115e42a1230b3f5df7182ca5 (diff) | |
download | nextcloud-server-bfb519cced9713416fa4af753aa39ee42b468268.tar.gz nextcloud-server-bfb519cced9713416fa4af753aa39ee42b468268.zip |
Merge pull request #12636 from owncloud/fix-ie9-placeholder
fix placeholder fake in IE8 & 9 that brokes group listing in user manage...
-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; }; /** |