Save and Checkpoint

MinRK 13 years ago
parent 53ac962d1a
commit 1f82c03dd2

@ -25,7 +25,7 @@ var IPython = (function (IPython) {
this.add_buttons_group([
{
id : 'save_b',
label : 'Save Checkpoint',
label : 'Save and Checkpoint',
icon : 'ui-icon-disk',
callback : function () {
IPython.notebook.save_checkpoint();

@ -81,9 +81,6 @@ var IPython = (function (IPython) {
window.open(url,'_blank');
return false;
});
this.element.find('#save_notebook').click(function () {
IPython.notebook.save_notebook();
});
this.element.find('#save_checkpoint').click(function () {
IPython.notebook.save_checkpoint();
});

@ -56,8 +56,7 @@ class="notebook_app"
<hr/>
<li id="copy_notebook"><a href="#">Make a Copy...</a></li>
<li id="rename_notebook"><a href="#">Rename...</a></li>
<li id="save_notebook"><a href="#">Save</a></li>
<li id="save_checkpoint"><a href="#">Save Checkpoint</a></li>
<li id="save_checkpoint"><a href="#">Save and Checkpoint</a></li>
<hr/>
<li id="restore_checkpoint"><a href="#">Revert to Checkpoint</a></li>
<hr/>

Loading…
Cancel
Save