Make sure that celltoolbars are hidden

when a notebook without "celltoolbar" entry in metadata is loaded.
This commit is contained in:
Raffaele De Feo 2014-04-13 11:30:18 +02:00
parent 61bdcb477b
commit ba7a3ec6bc

View File

@ -2103,6 +2103,8 @@ var IPython = (function (IPython) {
if (this.metadata.celltoolbar) {
IPython.CellToolbar.global_show();
IPython.CellToolbar.activate_preset(this.metadata.celltoolbar);
} else {
IPython.CellToolbar.global_hide();
}
// now that we're fully loaded, it is safe to restore save functionality