mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-11 07:24:15 +00:00
Improvements for build output completion
- Check if the output is fully allocated (throw error if not) - Reload tables after actions performed
This commit is contained in:
@ -1843,6 +1843,8 @@ function constructInput(name, parameters, options) {
|
||||
case 'candy':
|
||||
func = constructCandyInput;
|
||||
break;
|
||||
case 'raw':
|
||||
func = constructRawInput;
|
||||
default:
|
||||
// Unsupported field type!
|
||||
break;
|
||||
@ -2086,6 +2088,17 @@ function constructCandyInput(name, parameters) {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Construct a "raw" field input
|
||||
* No actual field data!
|
||||
*/
|
||||
function constructRawInput(name, parameters) {
|
||||
|
||||
return parameters.html;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Construct a 'help text' div based on the field parameters
|
||||
*
|
||||
|
Reference in New Issue
Block a user