Sha256: 4c04b4d8e138027e06b4ad2c89bc6c722621cf254b04291e293ea236fa4b9040
Contents?: true
Size: 495 Bytes
Versions: 49
Compression:
Stored size: 495 Bytes
Contents
class Tawork.Views.TreeNodeTicketView extends Tawork.Views.TicketView events: -> _.extend {}, Tawork.Views.TicketView.prototype.events, { "click .node-handle": "toggle_tree_node" } toggle_tree_node: (event) -> $node_handle = $(event.target).closest(".node-handle") return if @$(".node-handle:first").get(0) != $node_handle.get(0) return if @$("> ol").length == 0 @$el.toggleClass('mjs-nestedSortable-collapsed').toggleClass('mjs-nestedSortable-expanded')
Version data entries
49 entries across 49 versions & 1 rubygems