Fixes #4067 - Javascript error undefined multiple while opening core workflow with tree selects.

This commit is contained in:
Rolf Schmidt 2022-04-27 16:58:50 +02:00
parent a969cd44d8
commit 2c77e73c39

View file

@ -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