##// END OF EJS Templates
remove references to defunct layout_manager in ToolBar
Min RK -
Show More
@@ -13,9 +13,8 b' define(['
13 13 * @constructor
14 14 * @param {Dom object} selector
15 15 */
16 var ToolBar = function (selector, layout_manager) {
16 var ToolBar = function (selector) {
17 17 this.selector = selector;
18 this.layout_manager = layout_manager;
19 18 if (this.selector !== undefined) {
20 19 this.element = $(selector);
21 20 this.style();
@@ -88,9 +87,6 b' define(['
88 87 */
89 88 ToolBar.prototype.toggle = function () {
90 89 this.element.toggle();
91 if (this.layout_manager !== undefined) {
92 this.layout_manager.do_resize();
93 }
94 90 };
95 91
96 92 // Backwards compatibility.
General Comments 0
You need to be logged in to leave comments. Login now