MINOR Fixed wrong "add folder" css class + behaviour

This commit is contained in:
Ingo Schommer 2012-03-07 14:37:12 +01:00
parent 12124fdae0
commit 915dc7f27c

View File

@ -160,7 +160,7 @@ JS
$addFolderBtn = new LiteralField( $addFolderBtn = new LiteralField(
'AddFolderButton', 'AddFolderButton',
sprintf( sprintf(
'<a class="ss-ui-button ss-ui-action-constructive cms-panel-link cms-page-add-button" data-icon="add" href="%s">%s</a>', '<a class="ss-ui-button ss-ui-action-constructive cms-panel-link" data-icon="add" href="%s">%s</a>',
Controller::join_links($this->Link('addfolder'), '?ParentID=' . $folder->ID), Controller::join_links($this->Link('addfolder'), '?ParentID=' . $folder->ID),
_t('Folder.AddFolderButton', 'Add folder') _t('Folder.AddFolderButton', 'Add folder')
) )