Skip to content

Commit

Permalink
Remove Ext Statefulness from TVs Panel
Browse files Browse the repository at this point in the history
Avoids conflicts with our new tab tracking functionality, and it's generally less confusing to have the tab panel initially show its first tab instead of the last one visited
  • Loading branch information
Jim Graham committed Feb 20, 2023
1 parent ba2f36c commit 4ac23c3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions manager/assets/modext/widgets/element/modx.panel.tv.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,18 +502,7 @@ MODx.panel.TV = function(config) {
,record: config.record
}],{
id: 'modx-tv-editor-tabs'
,forceLayout: true
,deferredRender: false
,stateful: true
,stateId: 'modx-tv-tabpanel-'+config.tv
,stateEvents: ['tabchange']
,hideMode: 'offsets'
,anchor: '100%'
,getState: function() {
return {
activeTab: this.items.indexOf(this.getActiveTab())
};
}
})]
,useLoadingMask: true
,listeners: {
Expand Down

0 comments on commit 4ac23c3

Please sign in to comment.