diff --git a/src/Panel/MailPanel.php b/src/Panel/MailPanel.php index 6bffeba3..1e14223e 100644 --- a/src/Panel/MailPanel.php +++ b/src/Panel/MailPanel.php @@ -67,7 +67,7 @@ public function initialize() $configs[$name] = $transport; } - $property->setValue($configs); + $reflection->setStaticPropertyValue('_config', $configs); } /** diff --git a/webroot/js/modules/Panels/VariablesPanel.js b/webroot/js/modules/Panels/VariablesPanel.js index a52431a8..59a5e797 100644 --- a/webroot/js/modules/Panels/VariablesPanel.js +++ b/webroot/js/modules/Panels/VariablesPanel.js @@ -6,7 +6,7 @@ export default (($) => { } else { document.cookie = `debugKit_sort=1; path=${window.debugKitWebroot}`; } - toolbar.loadPanel(toolbar.currentPanel(), 'panelvariables'); + toolbar.loadPanel(toolbar.currentPanel(), 'variables'); }); } diff --git a/webroot/js/modules/Toolbar.js b/webroot/js/modules/Toolbar.js index 7f6fe22d..c3d9d9c6 100644 --- a/webroot/js/modules/Toolbar.js +++ b/webroot/js/modules/Toolbar.js @@ -182,7 +182,7 @@ export default class Toolbar { }); $(document).on('click', '.js-toolbar-load-panel', function () { const panelId = $(this).attr('data-panel-id'); - that.loadPanel(panelId, 'panelhistory'); + that.loadPanel(panelId, 'history'); }); $(document).on('click', '.js-panel-close', () => { that.hide();