0a12de844fc0cdc4ef285366a650aee2d4c6da51 tdreszer Tue Aug 10 17:33:12 2010 -0700 Made subtrack DnD a little more consistent with imageV2 DnD diff --git src/hg/js/hui.js src/hg/js/hui.js index 34f5d8c..7d1ca56 100644 --- src/hg/js/hui.js +++ src/hg/js/hui.js @@ -1262,15 +1262,16 @@ if($(".tableWithDragAndDrop").length > 0) { $(".tableWithDragAndDrop").tableDnD({ onDragClass: "trDrag", - onDrop: function(table, row) { + //dragHandle: "dragHandle", + onDrop: function(table, row, dragStartIndex) { if(tableSetPositions) { tableSetPositions(table); } } }); $(".trDraggable").hover( - function(){if($(this).hasClass('trDrag') == false) $(this).addClass('pale');}, - function(){$(this).removeClass('pale');} + function(){ $(this).addClass('trDrag'); }, + function(){ $(this).removeClass('trDrag'); } ); } $('.halfVis').css('opacity', '0.5'); // The 1/2 opacity just doesn't get set from cgi!