diff --git a/application/widgets/TableWidget.php b/application/widgets/TableWidget.php index be368fc2c..5ac0bec0f 100644 --- a/application/widgets/TableWidget.php +++ b/application/widgets/TableWidget.php @@ -98,6 +98,7 @@ class TableWidget extends Widget $this->view(self::WIDGET_URL_TABLE, array( 'tableUniqueId' => $widgetData[TableWidgetLib::TABLE_UNIQUE_ID], + 'bootstrapVersion' => $widgetData[TableWidgetLib::TABLE_BOOTSTRAP_VERSION], )); // GUI starts here } diff --git a/public/js/TableWidget.js b/public/js/TableWidget.js index a6b8a10b1..ee43066ce 100644 --- a/public/js/TableWidget.js +++ b/public/js/TableWidget.js @@ -626,8 +626,6 @@ var FHC_TableWidget = { tableWidgetDiv.find('#tableWidgetHeader').append(tabulatorHeaderHTML); - // Render the collapsable div triggered by button in tableWidgetHeader - //! this rendering was moved to the _onTableBuilt function } @@ -858,7 +856,7 @@ function _renderTabulatorHeaderCollapseHTML(tableWidgetDiv,arrayTabulatorColumns // CollapseHTML 'Settings' if(_bootstrapVersion==3){ - tabulatorHeaderCollapseHTML += '