Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-05 14:16:22 +0300
committerMorris Jobke <hey@morrisjobke.de>2014-12-05 14:16:22 +0300
commit23e09be65f4ff900115e42a1230b3f5df7182ca5 (patch)
treee9ee4f6ca346fb6bb6c0cd9f72c51506a0dabd26 /settings
parent5aad902507acd173e8bf8304d13eb27b03abcb08 (diff)
fix placeholder fake in IE8 & 9 that brokes group listing in user management - fixes #12525
Diffstat (limited to 'settings')
-rw-r--r--settings/js/users/filter.js9
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;
};
/**