fixed creation of policy modules based on local components with macros

This commit is contained in:
alejandro.campos@artica.es 2022-05-05 13:59:35 +02:00
parent 2292f0507a
commit 4c988a2413
1 changed files with 4 additions and 0 deletions

View File

@ -846,6 +846,10 @@ function add_macro_field(macro, row_model_id, type_copy, k) {
// Change attributes to be unique and with identificable class
$macro_field.attr("id", row_id);
$macro_field
.find("input")
.first()
.attr("name", macro_macro);
$macro_field.attr("class", "macro_field");