mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#10899 fix custom fields server error
This commit is contained in:
parent
d501e49f4c
commit
fcde5e4452
@ -7701,7 +7701,7 @@ function ui_get_inventory_module_add_form(
|
|||||||
}
|
}
|
||||||
|
|
||||||
function add_row_for_custom_field (fieldName, isSecure) {
|
function add_row_for_custom_field (fieldName, isSecure) {
|
||||||
var custom_fields_num = $("tr[id^=inventory-module-form-custom-field-row-]").length+1;
|
var custom_fields_num = $("tr[id^=inventory-module-form-custom-field-row-]").length;
|
||||||
$("#inventory-module-form-hidden-custom-field-row")
|
$("#inventory-module-form-hidden-custom-field-row")
|
||||||
.clone()
|
.clone()
|
||||||
.prop("id", "inventory-module-form-custom-field-row-" + custom_fields_num)
|
.prop("id", "inventory-module-form-custom-field-row-" + custom_fields_num)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user