Skip to content
Snippets Groups Projects

Fixed the problem with IDP filter on WAYF

Merged Pavel Břoušek requested to merge github/fork/BaranekD/IdpFilterWayf into master
2 files
+ 3
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -16,7 +16,7 @@ jQuery.fn.liveUpdate = function (list) {
@@ -16,7 +16,7 @@ jQuery.fn.liveUpdate = function (list) {
function filter()
function filter()
{
{
var term = jQuery.trim(jQuery(this).val().toLowerCase()), scores = [];
var term = jQuery.trim(jQuery(this).val().toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, "")), scores = [];
if (!term) {
if (!term) {
rows.show();
rows.show();
Loading