From b17c3f6e0fcddfdf38d596526ef2327658876996 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 27 Aug 2020 08:41:38 +1000 Subject: [PATCH] Fix for empty option --- InvenTree/InvenTree/static/script/inventree/modals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/static/script/inventree/modals.js b/InvenTree/InvenTree/static/script/inventree/modals.js index e0a24b4e4f..a17cee0d2c 100644 --- a/InvenTree/InvenTree/static/script/inventree/modals.js +++ b/InvenTree/InvenTree/static/script/inventree/modals.js @@ -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(``); } optionList.forEach(function(option) {