Project

General

Profile

Bug #21571 » 12616.diff

Administrator Admin, 2009-11-16 19:53

View differences:

typo3/sysext/recycler/ext_tables.php (working copy)
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');
}
?>
typo3/sysext/recycler/res/js/t3_recycler.js (working copy)
layout: 'fit',
renderTo: Recycler.statics.renderTo,
width: '98%',
height: parseInt(Recycler.statics.gridHeight),
frame: true,
border: true,
defaults: {autoScroll: false},
......
}
},
fitSizeToParent : function() {
//40 is the margin, safari need most pixel for preventing vertical scrollbar
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]);
(1-1/2)