Permalink
Browse files

API CHANGE ModelAdmin->ResultsForm() no longer returns a TabSet (was …

…just a layout crutch to support correct sizing)
  • Loading branch information...
chillu committed Apr 19, 2011
1 parent a527172 commit ecddf5b945b225d4c551f5e00130b321a7a847a7
Showing with 2 additions and 6 deletions.
  1. +2 −6 admin/code/ModelAdmin.php
@@ -767,12 +767,8 @@ function ResultsForm($searchCriteria) {
$this,
'ResultsForm',
new FieldSet(
- new TabSet('Root',
- new Tab('SearchResults',
- _t('ModelAdmin.SEARCHRESULTS','Search Results'),
- $tf
- )
- )
+ new HeaderField('SearchResults', _t('ModelAdmin.SEARCHRESULTS','Search Results'), 2),
+ $tf
),
new FieldSet()
);

0 comments on commit ecddf5b

Please sign in to comment.