Index: typo3/sysext/recycler/ext_tables.php =================================================================== --- typo3/sysext/recycler/ext_tables.php (Revision 6430) +++ typo3/sysext/recycler/ext_tables.php (Arbeitskopie) @@ -8,13 +8,5 @@ t3lib_extMgm::addModulePath('web_txrecyclerM1',t3lib_extMgm::extPath ($_EXTKEY).'mod1/'); t3lib_extMgm::addModule('web','txrecyclerM1','',t3lib_extMgm::extPath($_EXTKEY).'mod1/'); - $GLOBALS['TYPO3_USER_SETTINGS']['columns']['recyclerGridHeight'] = array( - 'type' => 'text', - 'label' => 'LLL:EXT:recycler/locallang_db.xml:userSettings.RecyclerHeight', - 'default' => 600, - 'csh' => 'tx_recycler_grid_height', - ); - t3lib_extMgm::addFieldsToUserSettings('recyclerGridHeight', 'after:resizeTextareas_Flexible'); - t3lib_extMgm::addLLrefForTCAdescr('_MOD_user_setup','EXT:recycler/locallang_csh_mod.xml'); } ?> \ No newline at end of file Index: typo3/sysext/recycler/locallang_db.xml =================================================================== --- typo3/sysext/recycler/locallang_db.xml (Revision 6430) +++ typo3/sysext/recycler/locallang_db.xml (Arbeitskopie) @@ -7,7 +7,6 @@ - \ No newline at end of file Index: typo3/sysext/recycler/mod1/index.php =================================================================== --- typo3/sysext/recycler/mod1/index.php (Revision 6430) +++ typo3/sysext/recycler/mod1/index.php (Arbeitskopie) @@ -178,7 +178,6 @@ * @return array The JavaScript configuration */ protected function getJavaScriptConfiguration() { - $gridHeight = isset($GLOBALS['BE_USER']->uc['recyclerGridHeight']) && intval($GLOBALS['BE_USER']->uc['recyclerGridHeight']) ? intval($GLOBALS['BE_USER']->uc['recyclerGridHeight']) : 600; $configuration = array( 'pagingSize' => $this->recordsPageLimit, 'showDepthMenu' => 1, @@ -190,7 +189,6 @@ 'deleteDisable' => $this->allowDelete ? 0 : 1, 'depthSelection' => $this->getDataFromSession('depthSelection', 0), 'tableSelection' => $this->getDataFromSession('tableSelection', 'pages'), - 'gridHeight' => $gridHeight, ); return $configuration; } Index: typo3/sysext/recycler/res/js/t3_recycler.js =================================================================== --- typo3/sysext/recycler/res/js/t3_recycler.js (Revision 6430) +++ typo3/sysext/recycler/res/js/t3_recycler.js (Arbeitskopie) @@ -260,7 +260,6 @@ layout: 'fit', renderTo: Recycler.statics.renderTo, width: '98%', - height: parseInt(Recycler.statics.gridHeight), frame: true, border: true, defaults: {autoScroll: false}, @@ -485,6 +484,9 @@ } }, fitSizeToParent : function() { + // Uses the dimension of the current viewport, but removes the document header + // and an addtional margin of 40 pixels (e.g. Safari needs this addition) + this.fitToElement.setHeight(document.viewport.getHeight() - this.fitToElement.getTop() - 40); var pos = this.getPosition(true), size = this.fitToElement .getViewSize(); this.setSize(size.width - pos[0], size.height - pos[1]);