app/assets/javascripts/hooch.js in hooch-0.6.2 vs app/assets/javascripts/hooch.js in hooch-0.6.3

- old
+ new

@@ -931,9 +931,13 @@ return id.slice((last_underscore_location + 1)) }) if(this.$sorter.data('sort-field')){ form_data['sort_field'] = this.$sorter.data('sort-field') } + var csrf_token = $('[name="csrf-token"]').attr('content') + if(csrf_token){ + form_data['authenticity_token'] = csrf_token + } return form_data }, removePlaceholder: function(){ var sorter = this return $.grep(this.row_keys, function(row_key,i){