jQuery(document).ready(function(n){n(".attributes .fields").sortable({cursor:"move",scrollSensitivity:10,tolerance:"pointer",axis:"y",stop:function(e,t){var t=t.item.parents(".fields"),i=new Array;n('input[type="checkbox"]',t).each(function(e){i[e]=n(this).val()}),t.next().val(i.join(","))}})});