lib/assets/javascripts/tao/ui/tree/element.coffee in tao_ui-0.2.9 vs lib/assets/javascripts/tao/ui/tree/element.coffee in tao_ui-0.2.10

- old
+ new

@@ -19,10 +19,10 @@ _bind: -> @on 'tao-tree-item:selectedChange', '.tao-tree-item', (e) => item = e.currentTarget return unless item == e.target @_refreshAssociatedItems(item) if @associatedSelect - @trigger 'tao-tree:selectedChange', [@selectedItems] + @namespacedTrigger 'selectedChange', [@selectedItems] null _refreshAssociatedItems: (item) -> item.jq.find('.tao-tree-item').prop('selected', item.selected) @_refreshAncestorItems(item)