mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
Merge pull request #8084 from Carreau/delete-duplicate
Bad code duplication, I suppose duplicate was meant.
This commit is contained in:
commit
090c847aa4
@ -687,7 +687,7 @@ define([
|
||||
}
|
||||
var that = this;
|
||||
dialog.modal({
|
||||
title : "Delete",
|
||||
title : "Duplicate",
|
||||
body : message,
|
||||
buttons : {
|
||||
Duplicate : {
|
||||
@ -698,9 +698,9 @@ define([
|
||||
that.load_list();
|
||||
}).catch(function(e) {
|
||||
dialog.modal({
|
||||
title: "Delete Failed",
|
||||
title: "Duplicate Failed",
|
||||
body: $('<div/>')
|
||||
.text("An error occurred while deleting \"" + item.path + "\".")
|
||||
.text("An error occurred while duplicating \"" + item.path + "\".")
|
||||
.append($('<div/>')
|
||||
.addClass('alert alert-danger')
|
||||
.text(e.message || e)),
|
||||
|
Loading…
Reference in New Issue
Block a user