Skip to content

Commit

Permalink
UI, histories: fix/reverse order for drag and drop dataset copy
Browse files Browse the repository at this point in the history
  • Loading branch information
carlfeberhard committed Oct 13, 2015
1 parent 34a11d1 commit 41069e8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion client/galaxy/scripts/mvc/history/multi-panel.js
Expand Up @@ -588,7 +588,9 @@ var MultiPanelColumns = Backbone.View.extend( baseMVC.LoggableMixin ).extend({
multipanel._dropData = null;

var queue = new ajaxQueue.NamedAjaxQueue();
toCopy.forEach( function( content ){
// need to reverse to better match expected order
// TODO: reconsider order in list-panel._setUpItemViewListeners, dragstart (instead of here)
toCopy.reverse().forEach( function( content ){
queue.add({
name : 'copy-' + content.id,
fn : function(){
Expand Down

0 comments on commit 41069e8

Please sign in to comment.