https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20388
--- Comment #52 from Julian Maurice <[email protected]> --- Comment on attachment 87203 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87203 Bug 20388: Prevent user from using a search field for a mapping after removing it Review of attachment 87203: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20388&attachment=87203) ----------------------------------------------------------------- ::: koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt @@ +33,4 @@ > var line = $(this).closest("tr"); > + > + // We clicked delete button on search fields tab. > + if (name = > $(line).find('input[name="search_field_name"]').val()) { It looks like 'name' is a global variable. Declare it with 'var' to avoid that. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
