From: Matthias Schmidt Date: Wed, 28 Oct 2020 16:21:28 +0000 (+0100) Subject: Remove obsolete TODO X-Git-Tag: 5.3.0~3^2~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b6da99a7a1ac34a0d2b9f4a429bdb4a2be741a52;p=GitHub%2FWoltLab%2FWCF.git Remove obsolete TODO --- 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; }