HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Thu, 07 Apr 2016 07:58:48 GMT
Content-Type: application/javascript
Content-Length: 581
Date: Fri, 15 Apr 2016 12:05:49 GMT


$(document).ready(function() { 
	var fixHelperModified = function(e, tr) {
	    var $originals = tr.children();
	    var $helper = tr.clone();
	    $helper.children().each(function(index) {
	        $(this).width($originals.eq(index).width());
	    });
	    return $helper;
	},
	    updateIndex = function(e, ui) {
	        $('td.index', ui.item.parent()).each(function (i) {
	            $(this).html(i + 1);
	        });
	    };

	$("#sort tbody").sortable({
	    helper: fixHelperModified,
	    stop: updateIndex
	}).disableSelection();
	
	
	
});



