Skip to content

Commit

Permalink
Occurred, spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Sep 15, 2017
1 parent d5aba7d commit 7831b98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions client/galaxy/scripts/mvc/library/library-dataset-view.js
Expand Up @@ -84,7 +84,7 @@ var LibraryDatasetView = Backbone.View.extend({
if (typeof response.responseJSON !== "undefined"){
mod_toastr.error(response.responseJSON.err_msg + ' Click this to go back.', '', {onclick: function() {Galaxy.libraries.library_router.back();}});
} else {
mod_toastr.error('An error ocurred. Click this to go back.', '', {onclick: function() {Galaxy.libraries.library_router.back();}});
mod_toastr.error('An error occurred. Click this to go back.', '', {onclick: function() {Galaxy.libraries.library_router.back();}});
}
}
});
Expand Down Expand Up @@ -116,7 +116,7 @@ var LibraryDatasetView = Backbone.View.extend({
if (typeof response.responseJSON !== "undefined"){
mod_toastr.error(response.responseJSON.err_msg);
} else {
mod_toastr.error('An error ocurred.');
mod_toastr.error('An error occurred.');
}
}
});
Expand Down Expand Up @@ -198,7 +198,7 @@ var LibraryDatasetView = Backbone.View.extend({
if (typeof response.responseJSON !== "undefined"){
mod_toastr.error(response.responseJSON.err_msg);
} else {
mod_toastr.error('An error ocurred.');
mod_toastr.error('An error occurred.');
}
}
});
Expand All @@ -214,7 +214,7 @@ var LibraryDatasetView = Backbone.View.extend({
that.processImportToHistory(new_history.id);
})
.fail(function( xhr, status, error ) {
mod_toastr.error('An error ocurred.');
mod_toastr.error('An error occurred.');
})
.always(function() {
that.modal.enableButton('Import');
Expand Down

0 comments on commit 7831b98

Please sign in to comment.