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