From 6c9a7d0d4116979b136f7216a25619662e90c7d6 Mon Sep 17 00:00:00 2001 From: Brian Granger Date: Tue, 7 Feb 2012 12:02:54 -0800 Subject: [PATCH] Fixing Cell menu to update cell type select box. --- IPython/frontend/html/notebook/static/js/toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/frontend/html/notebook/static/js/toolbar.js b/IPython/frontend/html/notebook/static/js/toolbar.js index 2ecdfa009..78820c37d 100644 --- a/IPython/frontend/html/notebook/static/js/toolbar.js +++ b/IPython/frontend/html/notebook/static/js/toolbar.js @@ -125,7 +125,7 @@ var IPython = (function (IPython) { IPython.notebook.to_heading(undefined, 6); }; }); - $([IPython.events]).on('selected_cell_type_changed', function (event, data) { + $([IPython.events]).on('selected_cell_type_changed.Notebook', function (event, data) { if (data.cell_type === 'heading') { that.element.find('#cell_type').val(data.cell_type+data.level); } else {