mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 19:15:41 +00:00
remove debug statement
This commit is contained in:
@ -1013,12 +1013,12 @@ function addSecondaryModal(field, fields, options) {
|
||||
// Determine the API query URL
|
||||
var url = secondary.api_url || field.api_url;
|
||||
|
||||
// If the "fields" attribute is a function, call it with data
|
||||
if (secondary.fields instanceof Function) {
|
||||
|
||||
// Extract form values at time of button press
|
||||
var data = extractFormData(fields, options)
|
||||
|
||||
// If the "fields" attribute is a function, call it with data
|
||||
if (secondary.fields instanceof Function) {
|
||||
console.log("Fields is a function!");
|
||||
secondary.fields = secondary.fields(data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user