Show More
@@ -62,10 +62,10 b' var IPython = (function (IPython) {' | |||
|
62 | 62 | /** |
|
63 | 63 | * Class variable that should contain the reverse order list of the button |
|
64 | 64 | * to add to the toolbar of each cell |
|
65 |
* @property _ |
|
|
65 | * @property _ui_controls_list | |
|
66 | 66 | * @private |
|
67 | 67 | */ |
|
68 |
CellToolbar._ |
|
|
68 | CellToolbar._ui_controls_list = []; | |
|
69 | 69 | |
|
70 | 70 | /** |
|
71 | 71 | * keep a list of all instances to |
@@ -174,7 +174,7 b' var IPython = (function (IPython) {' | |||
|
174 | 174 | var preset = CellToolbar._presets[preset_name]; |
|
175 | 175 | |
|
176 | 176 | if(preset != undefined){ |
|
177 |
CellToolbar._ |
|
|
177 | CellToolbar._ui_controls_list = preset; | |
|
178 | 178 | CellToolbar.rebuild_all(); |
|
179 | 179 | } |
|
180 | 180 | } |
@@ -207,9 +207,9 b' var IPython = (function (IPython) {' | |||
|
207 | 207 | |
|
208 | 208 | |
|
209 | 209 | var cdict = CellToolbar._callback_dict; |
|
210 |
var preset = CellToolbar._ |
|
|
210 | var preset = CellToolbar._ui_controls_list; | |
|
211 | 211 | // Yes we iterate on the class varaible, not the instance one. |
|
212 |
for ( var index in CellToolbar._ |
|
|
212 | for ( var index in CellToolbar._ui_controls_list){ | |
|
213 | 213 | var local_div = $('<div/>').addClass('button_container'); |
|
214 | 214 | // Note, |
|
215 | 215 | // do this the other way, wrap in try/catch and don't append if any errors. |
General Comments 0
You need to be logged in to leave comments.
Login now