Merge pull request #11380 from atm-florian/9.0

fix depending extrafeilds list
This commit is contained in:
Laurent Destailleur 2019-06-24 15:23:48 +02:00 committed by GitHub
commit 7e10208619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();