##// END OF EJS Templates
Backport PR #5605: Two cell toolbar fixes....
Backport PR #5605: Two cell toolbar fixes. 1. When a new notebook is loaded we should update the state of the ``select`` element listing the cell tollbar presets in the main toolbar, so that its value reflects the ``celltollbar`` metadata entry of the notebook. 2. When a new notebook without ``celltoolbar`` metadata entry is loaded we should make sure that the cell tollbars are hidden. In particular, that is needed when you are working to a notebook with a certain cell toolbar preset and then you revert the notebook to a state with no cell toolbars.

File last commit:

r11033:fa36e98f
r16749:c7aaa9e5
Show More
logoutmain.js
20 lines | 698 B | application/javascript | JavascriptLexer
//----------------------------------------------------------------------------
// Copyright (C) 2008-2011 The IPython Development Team
//
// Distributed under the terms of the BSD License. The full license is in
// the file COPYING, distributed as part of this software.
//----------------------------------------------------------------------------
//============================================================================
// On document ready
//============================================================================
$(document).ready(function () {
IPython.page = new IPython.Page();
$('#ipython-main-app').addClass('border-box-sizing');
IPython.page.show();
});