1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/63e15e4cc0aa/ changeset: 63e15e4cc0aa user: jgoecks date: 2011-09-01 18:13:45 summary: Fix Trackster dragging/moving bugs. affected #: 1 file (79 bytes) --- a/static/scripts/trackster.js Thu Sep 01 11:08:34 2011 -0400 +++ b/static/scripts/trackster.js Thu Sep 01 12:13:45 2011 -0400 @@ -145,11 +145,12 @@ /** * Make `element` moveable within parent and sibling elements by dragging `handle` (a selector). */ -var moveable = function( element, handle, container_selector ) { +var moveable = function( element, handle_class, container_selector ) { // HACK: set default value for container selector. container_selector = ".group"; var css_border_props = {}; - element.bind( "drag", { handle: handle, relative: true }, function ( e, d ) { + // Need to provide selector for handle, not class. + element.bind( "drag", { handle: "." + handle_class, relative: true }, function ( e, d ) { var parent = $(this).parent(), children = parent.children(), @@ -880,7 +881,7 @@ this.tracks.push(track); if (track.init) { track.init(); } track.container_div.attr('id', 'track_' + track.track_id); - moveable(track.container_div, track.drag_handle); + moveable(track.container_div, track.drag_handle_class); this.track_id_counter += 1; this.num_tracks += 1; this.has_changes = true; Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.