diff --git a/public_html/includes/js/LSformElement_jsonCompositeAttribute_field_value_component.js b/public_html/includes/js/LSformElement_jsonCompositeAttribute_field_value_component.js
index ba72ca50..a8dec162 100644
--- a/public_html/includes/js/LSformElement_jsonCompositeAttribute_field_value_component.js
+++ b/public_html/includes/js/LSformElement_jsonCompositeAttribute_field_value_component.js
@@ -54,7 +54,7 @@ var LSformElement_jsonCompositeAttribute_field_value_component = new Class({
this.select.selectedIndex=-1;
}
else {
- this.values.each(function(value) {
+ Object.each(this.values, function(value) {
value.clear();
}, this);
}