Sha256: 030c261ae501a9304c8352fc08d7d979502b52133f0565aafb3940d978deb514
Contents?: true
Size: 433 Bytes
Versions: 2
Compression:
Stored size: 433 Bytes
Contents
# The list of blocks on a page. class @BlockList extends modularity.Module constructor: -> super # Make block list sortable. $('.block_list').sortable(stop: @sorting_finished) $('.block_list').disableSelection() # Returns the data of the blocks. get_data: -> for tr in @$('tr') new Block($(tr)).get_data() # Called when the sorting is done. sorting_finished: => @fire 'sorting_finished'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flms-0.0.3 | app/assets/javascripts/flms/blocks/index/block_list.coffee |
flms-0.0.2 | app/assets/javascripts/flms/blocks/index/block_list.coffee |