From b6da99a7a1ac34a0d2b9f4a429bdb4a2be741a52 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 28 Oct 2020 17:21:28 +0100 Subject: [PATCH] Remove obsolete TODO --- .../files/js/WoltLabSuite/Core/Form/Builder/Field/ItemList.js | 1 - 1 file changed, 1 deletion(-) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/ItemList.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/ItemList.js index 0cc5513749..3e16e6a3df 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/ItemList.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/ItemList.js @@ -26,7 +26,6 @@ define(['Core', './Field', 'WoltLabSuite/Core/Ui/ItemList/Static'], function(Cor var values = UiItemListStatic.getValues(this._fieldId); for (var i = 0, length = values.length; i < length; i++) { - // TODO: data[this._fieldId] is an array but if code assumes object if (values[i].objectId) { data[this._fieldId][values[i].objectId] = values[i].value; } -- 2.20.1