mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Fixed wrong "add folder" css class + behaviour
This commit is contained in:
parent
12124fdae0
commit
915dc7f27c
@ -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')
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user