diff --git a/nodes/ui_base.html b/nodes/ui_base.html index 8d125379..f35c5113 100644 --- a/nodes/ui_base.html +++ b/nodes/ui_base.html @@ -2072,17 +2072,6 @@ trayBody.css('overflow','auto'); trayBody.append(editor); - ///////////////////////////////////////// - // Gridstack.js option - //////////////////////////////////////// - var options = { - cellHeight: 46, - verticalMargin: 1, - float: true, - alwaysShowResizeHandle: true, - disableOneColumnMode : true - }; - ///////////////////////////////////////// // Editor screen generation ///////////////////////////////////////// @@ -2092,6 +2081,14 @@ widgetResize = []; widgetDrag = []; for (var cnt=0; cnt < groups.length; cnt++) { + // Gridstack.js option + var options = { + cellHeight: 46, + verticalMargin: 1, + float: true, + alwaysShowResizeHandle: true, + disableOneColumnMode : true + }; var gridID='#grid' + cnt; // gridstack generation $(gridID).gridstack(options);