Skip to content

Instantly share code, notes, and snippets.

@guerler
Created November 15, 2015 05:25
Show Gist options
  • Save guerler/6fab29fe67a02972b70c to your computer and use it in GitHub Desktop.
Save guerler/6fab29fe67a02972b70c to your computer and use it in GitHub Desktop.
diff --git a/client/galaxy/scripts/utils/uploadbox.js b/client/galaxy/scripts/utils/uploadbox.js
index d87ba93..a05c974 100755
--- a/client/galaxy/scripts/utils/uploadbox.js
+++ b/client/galaxy/scripts/utils/uploadbox.js
@@ -236,6 +236,11 @@
error : function(message) { opts.error(index, message); process();},
progress : function(percentage) { opts.progress(index, percentage); }
});
+
+ // instantly continue queue if its a ftp or url/paste upload
+ if( file.mode == 'ftp' || file.mode == 'new' ){
+ process();
+ }
}
/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment