mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
Fix for forms.js (#4996)
- Fixes subtle bug introduced in recent javascript linting fix - Prevented error messages from displaying on modal forms - The whole thing needs to be razed and rebuilt
This commit is contained in:
parent
842d7a93d5
commit
bae1c239e8
@ -1362,7 +1362,7 @@ function handleNestedArrayErrors(errors, field_name, options={}) {
|
|||||||
// Find the target (nested) field
|
// Find the target (nested) field
|
||||||
var target = `${field_name}_${sub_field_name}_${nest_id}`;
|
var target = `${field_name}_${sub_field_name}_${nest_id}`;
|
||||||
|
|
||||||
addFieldErrorMessage(target, errors, options);
|
addFieldErrorMessage(target, sub_errors, options);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user