diff --git a/IPython/frontend/html/notebook/static/js/celltoolbar.js b/IPython/frontend/html/notebook/static/js/celltoolbar.js index 970e924..70c28ee 100644 --- a/IPython/frontend/html/notebook/static/js/celltoolbar.js +++ b/IPython/frontend/html/notebook/static/js/celltoolbar.js @@ -62,10 +62,10 @@ var IPython = (function (IPython) { /** * Class variable that should contain the reverse order list of the button * to add to the toolbar of each cell - * @property _button_list + * @property _ui_controls_list * @private */ - CellToolbar._button_list = []; + CellToolbar._ui_controls_list = []; /** * keep a list of all instances to @@ -174,7 +174,7 @@ var IPython = (function (IPython) { var preset = CellToolbar._presets[preset_name]; if(preset != undefined){ - CellToolbar._button_list = preset; + CellToolbar._ui_controls_list = preset; CellToolbar.rebuild_all(); } } @@ -207,9 +207,9 @@ var IPython = (function (IPython) { var cdict = CellToolbar._callback_dict; - var preset = CellToolbar._button_list; + var preset = CellToolbar._ui_controls_list; // Yes we iterate on the class varaible, not the instance one. - for ( var index in CellToolbar._button_list){ + for ( var index in CellToolbar._ui_controls_list){ var local_div = $('
').addClass('button_container'); // Note, // do this the other way, wrap in try/catch and don't append if any errors.