diff --git a/IPython/frontend/html/notebook/static/js/menubar.js b/IPython/frontend/html/notebook/static/js/menubar.js index 0a58464..470f92b 100644 --- a/IPython/frontend/html/notebook/static/js/menubar.js +++ b/IPython/frontend/html/notebook/static/js/menubar.js @@ -83,6 +83,9 @@ var IPython = (function (IPython) { this.element.find('#delete_cell').click(function () { IPython.notebook.delete_cell(); }); + this.element.find('#undelete_cell').click(function () { + IPython.notebook.undelete(); + }); this.element.find('#split_cell').click(function () { IPython.notebook.split_cell(); }); diff --git a/IPython/frontend/html/notebook/templates/notebook.html b/IPython/frontend/html/notebook/templates/notebook.html index 307c7c3..0b0e059 100644 --- a/IPython/frontend/html/notebook/templates/notebook.html +++ b/IPython/frontend/html/notebook/templates/notebook.html @@ -77,7 +77,8 @@ class="notebook_app"
  • Paste Cell Above
  • Paste Cell Below
  • Paste Cell & Replace
  • -
  • Delete
  • +
  • Delete Cell
  • +
  • Undo Delete Cell

  • Split Cell
  • Merge Cell Above