mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
Merge pull request #12636 from owncloud/fix-ie9-placeholder
fix placeholder fake in IE8 & 9 that brokes group listing in user manage...
This commit is contained in:
commit
bfb519cced
1 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue