app/assets/javascripts/hooch.js in hooch-0.15.10 vs app/assets/javascripts/hooch.js in hooch-0.15.11
- old
+ new
@@ -1045,11 +1045,11 @@
}),
Sorter: Class.extend({
init: function($sorter){
this.$sorter = $sorter
this.$jq_obj = $sorter
- $sorter.data('sorter',this)
+ $sorter.data('hooch.Sorter',this)
//////////////////////////////////////////
// Helpful for debugging in the browser
// var new_uuid = new UUID
// this.uniq_id = new_uuid.value
// this.created_at = new Date()
@@ -1187,9 +1187,12 @@
this.bottom_boundary = this.top_boundary + this.height
},
handleDrag: function(){
this.refreshSequence()
this.refreshGrid()
+ },
+ handleRemoval: function(){
+
},
refreshGrid: function(){
this.rows = {}
var sorter = this
$.each(this.sort_elements,function(i,sort_element){