From 41c84eb40e31b657011635fe23ec0c5513efb7e3 Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Sat, 6 Jul 2013 19:43:23 +0200 Subject: [PATCH] fix event names --- IPython/html/static/notebook/js/notebook.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPython/html/static/notebook/js/notebook.js b/IPython/html/static/notebook/js/notebook.js index 5fedfec05..0fe0df26a 100644 --- a/IPython/html/static/notebook/js/notebook.js +++ b/IPython/html/static/notebook/js/notebook.js @@ -1945,7 +1945,7 @@ var IPython = (function (IPython) { * @param {String} checkpoint ID */ Notebook.prototype.restore_checkpoint = function (checkpoint) { - $([IPython.events]).trigger('notebook_restoring.Notebook', checkpoint); + $([IPython.events]).trigger('checkpoint_restoring.Notebook', checkpoint); var url = this.baseProjectUrl() + 'notebooks/' + this.notebook_id + '/checkpoints/' + checkpoint; $.post(url).done( $.proxy(this.restore_checkpoint_success, this) @@ -1986,7 +1986,7 @@ var IPython = (function (IPython) { * @param {String} checkpoint ID */ Notebook.prototype.delete_checkpoint = function (checkpoint) { - $([IPython.events]).trigger('notebook_restoring.Notebook', checkpoint); + $([IPython.events]).trigger('checkpoint_deleting.Notebook', checkpoint); var url = this.baseProjectUrl() + 'notebooks/' + this.notebook_id + '/checkpoints/' + checkpoint; $.ajax(url, { type: 'DELETE',