debug_kit
debug_kit copied to clipboard
3.0 keyboard navigation in history mode
I just figured out that the keyboard navigation is broken when the history mode is activated (from the begining).
It's seems to be linked to the $.data() method not persisting the data attribute into the DOM making the folowing code failling:
return this.button.find("[data-id='" + this.currentPanel() + "']");
A solution is to use attr('data-id', panel.id); is history_panel.ctp.
Maybe it's less elegant but it can also let us include all the toolbar buttons method inside toolbar-app instead of src/Template/Requests/View.ctp.
Any idea on how to fix that or is good enought ?
Using the attr() method makes sense to me.
Closing as PR #254 is open