Skip to content

Commit c1cda97

Browse files
authored
Merge pull request #973 from cakephp/4.x-fix-972
fix reload button functionality in history and variables panel
2 parents 65918d0 + 27f1dbd commit c1cda97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webroot/js/modules/Panels/VariablesPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default (($) => {
66
} else {
77
document.cookie = `debugKit_sort=1; path=${window.debugKitWebroot}`;
88
}
9-
toolbar.loadPanel(toolbar.currentPanel(), 'panelvariables');
9+
toolbar.loadPanel(toolbar.currentPanel(), 'variables');
1010
});
1111
}
1212

webroot/js/modules/Toolbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export default class Toolbar {
182182
});
183183
$(document).on('click', '.js-toolbar-load-panel', function () {
184184
const panelId = $(this).attr('data-panel-id');
185-
that.loadPanel(panelId, 'panelhistory');
185+
that.loadPanel(panelId, 'history');
186186
});
187187
$(document).on('click', '.js-panel-close', () => {
188188
that.hide();

0 commit comments

Comments
 (0)