MINOR SSF-30 : add extra field to Tabs (listView and TreeView) to LeftAndMain EditForm

This commit is contained in:
Normann Lou 2012-03-07 14:28:57 +13:00
parent b6f73eb290
commit ecb31ce30a

View File

@ -191,6 +191,8 @@ JS
$tabList = new Tab('ListView', _t('AssetAdmin.ListView', 'List View')), $tabList = new Tab('ListView', _t('AssetAdmin.ListView', 'List View')),
$tabTree = new Tab('TreeView', _t('AssetAdmin.TreeView', 'Tree View')) $tabTree = new Tab('TreeView', _t('AssetAdmin.TreeView', 'Tree View'))
); );
$tabList->addExtraClass("content-listview");
$tabTree->addExtraClass("content-treeview");
if($fields->Count() && $folder->exists()) { if($fields->Count() && $folder->exists()) {
$tabs->push($tabDetails = new Tab('DetailsView', _t('AssetAdmin.DetailsView', 'Details'))); $tabs->push($tabDetails = new Tab('DetailsView', _t('AssetAdmin.DetailsView', 'Details')));
foreach($fields as $field) { foreach($fields as $field) {