Remove obsolete TODO
authorMatthias Schmidt <gravatronics@live.com>
Wed, 28 Oct 2020 16:21:28 +0000 (17:21 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 28 Oct 2020 16:21:28 +0000 (17:21 +0100)
wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/ItemList.js

index 0cc5513749725b077370cc90e1367ae63a86b29c..3e16e6a3dfe74abfef8f0083b51fa92d6bb7cf08 100644 (file)
@@ -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;
                                }