app/views/snaptable/sort.js.erb in snaptable-0.8.6 vs app/views/snaptable/sort.js.erb in snaptable-0.9.0
- old
+ new
@@ -2 +1,2 @@
-$('#snaptable').replaceWith('<%= j @table.present %>') ;
+var snaptable = $("#snaptable");
+snaptable.replaceWith('<%= j @table.present(buttons: params[:partial]) %>');
snapifyTable();
\ No newline at end of file