mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Correctly set $BaseCSSClasses on LeftAndMain content container templates, not only on forms. Fixes $('.cms-menu') handling of "current id" updates (fixes #6997)
This commit is contained in:
parent
8f8817b2f9
commit
bac23bcdb7
@ -1238,7 +1238,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
|
||||
* @return String
|
||||
*/
|
||||
function BaseCSSClasses() {
|
||||
return $this->CSSClasses();
|
||||
return $this->CSSClasses('Controller');
|
||||
}
|
||||
|
||||
function IsPreviewExpanded() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="cms-content center" data-layout-type="border">
|
||||
<div class="cms-content center $BaseCSSClasses" data-layout-type="border">
|
||||
|
||||
$Tools
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user