##// END OF EJS Templates
add menu item for undo delete cell...
MinRK -
Show More
@@ -83,6 +83,9 b' var IPython = (function (IPython) {'
83 this.element.find('#delete_cell').click(function () {
83 this.element.find('#delete_cell').click(function () {
84 IPython.notebook.delete_cell();
84 IPython.notebook.delete_cell();
85 });
85 });
86 this.element.find('#undelete_cell').click(function () {
87 IPython.notebook.undelete();
88 });
86 this.element.find('#split_cell').click(function () {
89 this.element.find('#split_cell').click(function () {
87 IPython.notebook.split_cell();
90 IPython.notebook.split_cell();
88 });
91 });
@@ -77,7 +77,8 b' class="notebook_app"'
77 <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li>
77 <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li>
78 <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li>
78 <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li>
79 <li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell &amp; Replace</a></li>
79 <li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell &amp; Replace</a></li>
80 <li id="delete_cell"><a href="#">Delete</a></li>
80 <li id="delete_cell"><a href="#">Delete Cell</a></li>
81 <li id="undelete_cell"><a href="#">Undo Delete Cell</a></li>
81 <hr/>
82 <hr/>
82 <li id="split_cell"><a href="#">Split Cell</a></li>
83 <li id="split_cell"><a href="#">Split Cell</a></li>
83 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
84 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
General Comments 0
You need to be logged in to leave comments. Login now