From 68d6d2b6e1b55ebb5d7a4e7bc05c6f6f612e26e8 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 27 Apr 2018 16:24:45 +0200 Subject: [PATCH] LSformElement_jsonCompositeAttribute : fix JS clear value method --- ...SformElement_jsonCompositeAttribute_field_value_component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }