fix depending extrafeilds list

This commit is contained in:
florian HENRY 2019-06-20 12:16:48 +02:00
parent 26c12c61a7
commit 0865bdb60f

View File

@ -6446,7 +6446,7 @@ abstract class CommonObject
jQuery(document).ready(function() {
function showOptions(child_list, parent_list)
{
var val = $("select[name=\"options_"+parent_list+"\"]").val();
var val = $("select[name=\""+parent_list+"\"]").val();
var parentVal = parent_list + ":" + val;
if(val > 0) {
$("select[name=\""+child_list+"\"] option[parent]").hide();