From 962e292e1a7801fffb7f8580c98d0375282b03ab 2013-10-21 03:57:10 From: Paul Ivanov <pi@berkeley.edu> Date: 2013-10-21 03:57:10 Subject: [PATCH] fix 'close and halt' in notebook File menu --- diff --git a/IPython/html/static/notebook/js/menubar.js b/IPython/html/static/notebook/js/menubar.js index 171555c..38a67b9 100644 --- a/IPython/html/static/notebook/js/menubar.js +++ b/IPython/html/static/notebook/js/menubar.js @@ -130,7 +130,7 @@ var IPython = (function (IPython) { this.element.find('#restore_checkpoint').click(function () { }); this.element.find('#kill_and_exit').click(function () { - IPython.notebook.session.delete_session(); + IPython.notebook.session.delete(); setTimeout(function(){window.close();}, 500); }); // Edit