Browse Source

HUE-881 [useradmin] Case insensitive search boxes on add/edit group page

Fixed a bug that affected the search functionality
Enrico Berti 13 years ago
parent
commit
2a23098
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/static/js/Source/jHue/jquery.selector.js

+ 1 - 1
desktop/core/static/js/Source/jHue/jquery.selector.js

@@ -108,7 +108,7 @@
                 if (q != "") {
                     body.find("li.selectorDivider").hide();
                     body.find("label").each(function () {
-                        if ($(this).text().toLowerCase().indexOf(q) > -1) {
+                        if ($(this).text().toLowerCase().indexOf(q.toLowerCase()) > -1) {
                             $(this).parent().show();
                         }
                         else {