diff --git a/app/assets/javascripts/app/controllers/_ui_element/tree_select_search.coffee b/app/assets/javascripts/app/controllers/_ui_element/tree_select_search.coffee index ff35e0274..1210e107a 100644 --- a/app/assets/javascripts/app/controllers/_ui_element/tree_select_search.coffee +++ b/app/assets/javascripts/app/controllers/_ui_element/tree_select_search.coffee @@ -1,9 +1,7 @@ # coffeelint: disable=camel_case_classes class App.UiElement.tree_select_search extends App.UiElement.ApplicationUiElement - @render: (localAttribute, params) -> - - # clone original attribute - attribute = clone(localAttribute) + @render: (attributeConfig, params) -> + attribute = $.extend({}, attributeConfig) # set multiple option if attribute.multiple