Skip to content

Commit

Permalink
Merge pull request #973 from cakephp/4.x-fix-972
Browse files Browse the repository at this point in the history
fix reload button functionality in history and variables panel
  • Loading branch information
othercorey authored Nov 23, 2023
2 parents 65918d0 + 27f1dbd commit c1cda97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webroot/js/modules/Panels/VariablesPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
}

Expand Down
2 changes: 1 addition & 1 deletion webroot/js/modules/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c1cda97

Please sign in to comment.