Fixed check for CSV when syncing to shadow element in `UI/ItemList`
authorAlexander Ebert <ebert@woltlab.com>
Thu, 25 Jun 2015 12:14:36 +0000 (14:14 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 25 Jun 2015 12:14:36 +0000 (14:14 +0200)
wcfsetup/install/files/js/WoltLab/WCF/UI/ItemList.js

index 31946d400afef8c5f8a4f18a5d077703790920be..4148714af43a8dc37c349395c3b001f8ec0ba183 100644 (file)
@@ -396,7 +396,7 @@ define(['Core', 'Dictionary', 'Language', 'DOM/Traverse', 'WoltLab/WCF/UI/Sugges
                 * @param       {object}        data            element data
                 */
                _syncShadow: function(data) {
-                       if (!data.isCSV) return null;
+                       if (!data.options.isCSV) return null;
                        
                        var value = '', values = this.getValues(data.element.id);
                        for (var i = 0, length = values.length; i < length; i++) {