Skip to content

Commit

Permalink
fix depending extrafeilds list
Browse files Browse the repository at this point in the history
  • Loading branch information
florian HENRY committed Jun 20, 2019
1 parent 26c12c6 commit 0865bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/commonobject.class.php
Expand Up @@ -6446,7 +6446,7 @@ function showOptionals($extrafields, $mode='view', $params=null, $keysuffix='',
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();
Expand Down

0 comments on commit 0865bdb

Please sign in to comment.