##// END OF EJS Templates
Shutdown the selected notebooks before deleting them
Jonathan Frederic -
Show More
@@ -518,6 +518,11 b' define(['
518 Delete : {
518 Delete : {
519 class: "btn-danger",
519 class: "btn-danger",
520 click: function() {
520 click: function() {
521 // Shutdown any/all selected notebooks before deleting
522 // the files.
523 that.shutdown_selected();
524
525 // Delete selected.
521 that.selected.forEach(function(item) {
526 that.selected.forEach(function(item) {
522 that.contents.delete(item.path).then(function() {
527 that.contents.delete(item.path).then(function() {
523 that.notebook_deleted(item.path);
528 that.notebook_deleted(item.path);
General Comments 0
You need to be logged in to leave comments. Login now