Index: typo3/sysext/recycler/res/js/t3_recycler.js =================================================================== --- typo3/sysext/recycler/res/js/t3_recycler.js (revision 8607) +++ typo3/sysext/recycler/res/js/t3_recycler.js (revision ) @@ -333,10 +333,13 @@ border: false, defaults: {autoScroll: false}, plain: true, - + initComponent : function() { Ext.apply(this, { id: 'delRecordId', + stateful: true, + stateId: 'recyclerGrid', + stateEvents: ['columnmove', 'columnresize', 'sortchange', 'groupchange'], loadMask: true, stripeRows: true, collapsible: false, @@ -410,6 +413,9 @@ ****************************************************/ xtype: 'combo', + stateful: true, + stateId: 'depthCombo', + stateEvents: ['select'], width: 150, lazyRender: true, valueField: 'depth', @@ -465,6 +471,9 @@ xtype: 'combo', lazyRender: true, + stateful: true, + stateId: 'tableCombo', + stateEvents: ['select'], valueField: 'valueField', displayField: 'tableTitle', id: 'tableSelector', @@ -519,6 +528,16 @@ }; Ext.onReady(function(){ + + //save states in BE_USER->uc + Ext.state.Manager.setProvider(new TYPO3.state.ExtDirectProvider({ + key: 'moduleData.web_recycler.States' + })); + + if (Ext.isObject(TYPO3.settings.Recycler.States)) { + Ext.state.Manager.getProvider().initState(TYPO3.settings.Recycler.States); + } + // disable loadindicator Ext.UpdateManager.defaults.showLoadIndicator = false; // fire recycler grid Index: typo3/sysext/recycler/mod1/index.php =================================================================== --- typo3/sysext/recycler/mod1/index.php (revision 9758) +++ typo3/sysext/recycler/mod1/index.php (revision ) @@ -61,6 +61,7 @@ $this->doc = t3lib_div::makeInstance('template'); $this->doc->setModuleTemplate(t3lib_extMgm::extPath('recycler') . 'mod1/mod_template.html'); $this->doc->backPath = $GLOBALS['BACK_PATH']; + $this->doc->setExtDirectStateProvider(); $this->pageRenderer = $this->doc->getPageRenderer(); @@ -189,6 +190,7 @@ 'deleteDisable' => $this->allowDelete ? 0 : 1, 'depthSelection' => $this->getDataFromSession('depthSelection', 0), 'tableSelection' => $this->getDataFromSession('tableSelection', 'pages'), + 'States' => $GLOBALS['BE_USER']->uc['moduleData']['web_recycler']['States'], ); return $configuration; }