mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
f6d8a3f229
@ -77,7 +77,7 @@ function setFieldOptions(fieldName, optionList, options={}) {
|
|||||||
|
|
||||||
if (addEmptyOption) {
|
if (addEmptyOption) {
|
||||||
// Add an 'empty' option at the top of the list
|
// Add an 'empty' option at the top of the list
|
||||||
field.append(makeOption('---------', '', '---------'));
|
field.append(`<option value="">---------</option>`);
|
||||||
}
|
}
|
||||||
|
|
||||||
optionList.forEach(function(option) {
|
optionList.forEach(function(option) {
|
||||||
|
@ -205,6 +205,7 @@
|
|||||||
|
|
||||||
$('#item-create').click(function () {
|
$('#item-create').click(function () {
|
||||||
createNewStockItem({
|
createNewStockItem({
|
||||||
|
follow: true,
|
||||||
data: {
|
data: {
|
||||||
{% if location %}
|
{% if location %}
|
||||||
location: {{ location.id }}
|
location: {{ location.id }}
|
||||||
|
Loading…
Reference in New Issue
Block a user