Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Oliver Walters 2020-08-27 22:50:52 +10:00
commit f6d8a3f229
2 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,7 @@ function setFieldOptions(fieldName, optionList, options={}) {
if (addEmptyOption) {
// Add an 'empty' option at the top of the list
field.append(makeOption('---------', '', '---------'));
field.append(`<option value="">---------</option>`);
}
optionList.forEach(function(option) {

View File

@ -205,6 +205,7 @@
$('#item-create').click(function () {
createNewStockItem({
follow: true,
data: {
{% if location %}
location: {{ location.id }}