From a04409558759504f801ee0e1b31a4dfc1b1ebd67 2012-02-08 05:31:32 From: Fernando Perez Date: 2012-02-08 05:31:32 Subject: [PATCH] Merge pull request #1387 from ellisonbg/celltype-update Fix issue where toolbar cell type drop list would not correctly update with cell types. --- diff --git a/IPython/frontend/html/notebook/static/js/toolbar.js b/IPython/frontend/html/notebook/static/js/toolbar.js index 2ecdfa0..78820c3 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 {