diff --git a/plugins/bc-admin-third/src/bc_theme_file/js/admin/theme_files/submenus.js b/plugins/bc-admin-third/src/bc_theme_file/js/admin/theme_files/submenus.js index bf115f5142..a455d4f26f 100644 --- a/plugins/bc-admin-third/src/bc_theme_file/js/admin/theme_files/submenus.js +++ b/plugins/bc-admin-third/src/bc_theme_file/js/admin/theme_files/submenus.js @@ -8,10 +8,11 @@ * @license https://basercms.net/license/index.html MIT License */ -$(function (){ +$(function () { $('#ThemeFilesMenu').accordion({ collapsible: true, - heightStyle: "content" + heightStyle: "content", + active: parseInt($('.selected-plugin').attr("data-id")) }); }); diff --git a/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/element/ThemeFiles/submenus.php b/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/element/ThemeFiles/submenus.php index d4fa26c896..d2585d8dbb 100755 --- a/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/element/ThemeFiles/submenus.php +++ b/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/element/ThemeFiles/submenus.php @@ -15,6 +15,7 @@ * @var \BaserCore\View\BcAdminAppView $this * @var bool $isDefaultTheme * @var string $theme + * @var string $plugin */ $types = [ 'layout' => __d('baser_core', 'レイアウト'), @@ -38,17 +39,25 @@
- - -

- + $pluginVal): ?> + + + +

+