mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge remote-tracking branch 'upstream/release_20.09' into release_21.01
This commit is contained in:
+3
-2
@@ -94,11 +94,12 @@ var ImportCollectionModal = Backbone.View.extend({
|
||||
const new_history_name = this.modal.$("input[name=history_name]").val();
|
||||
if (new_history_name !== "") {
|
||||
this.createNewHistory(new_history_name)
|
||||
.done((new_history) => {
|
||||
.then((new_history) => {
|
||||
Toast.success("History created");
|
||||
this.collectionImport(collection_elements, new_history.id, new_history.name);
|
||||
})
|
||||
.fail((xhr, status, error) => {
|
||||
.catch((error) => {
|
||||
console.error(error);
|
||||
Toast.error("An error occurred.");
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user