1c232cf435b6001dd59a4b266130fc59aea1215d tdreszer Wed Jul 7 13:21:09 2010 -0700 Fixed side button chrome bug where hgTrackUi wasn't called because of drag reorder diff --git src/hg/js/jquery.tablednd.js src/hg/js/jquery.tablednd.js index 4eaa142..b243da4 100644 --- src/hg/js/jquery.tablednd.js +++ src/hg/js/jquery.tablednd.js @@ -5,7 +5,8 @@ * Licensed like jQuery, see http://docs.jquery.com/License. * * NOTE for Browser staff: Tim Dreszer has modified this from original: - * dragStartIndex is returned as third param in onDrop() callback. + * onDrop() callback changed: dragStartIndex is returned as third param. + * onDragStart() callback changed: the event is returned as first param. * * Configuration options: * @@ -137,7 +138,7 @@ config.dragStartIndex = $(jQuery.tableDnD.dragObject).attr('rowIndex'); if (config.onDragStart) { // Call the onDrop method if there is one - config.onDragStart(table, this); + config.onDragStart(ev, table, this); } return false; }); @@ -157,7 +158,7 @@ config.dragStartIndex = $(jQuery.tableDnD.dragObject).attr('rowIndex'); if (config.onDragStart) { // Call the onDrop method if there is one - config.onDragStart(table, this); + config.onDragStart(ev, table, this); } return false; }