mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 09:38:48 +02:00
N°4349 - Drop-down mandatory template field documented still required in modification
This commit is contained in:
@@ -206,6 +206,14 @@ EOF
|
||||
if ($bVertical) {
|
||||
$oValue->AddSubBlock(new Html("<br>"));
|
||||
}
|
||||
$oOutput->AddJs(
|
||||
<<<EOF
|
||||
$("#{$sId}_{$idx}").off("change").on("change", function(){
|
||||
console.warn('bobo');
|
||||
$('#{$sId}').val(this.value).trigger('change');
|
||||
});
|
||||
EOF
|
||||
);
|
||||
$idx++;
|
||||
}
|
||||
$oValue->AddSubBlock(InputUIBlockFactory::MakeForHidden("",$value,$sId));
|
||||
|
||||
Reference in New Issue
Block a user