debug_kit icon indicating copy to clipboard operation
debug_kit copied to clipboard

3.0 keyboard navigation in history mode

Open antograssiot opened this issue 12 years ago • 2 comments

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 ?

antograssiot avatar Sep 23 '14 15:09 antograssiot

Using the attr() method makes sense to me.

markstory avatar Sep 23 '14 16:09 markstory

Closing as PR #254 is open

antograssiot avatar Sep 24 '14 13:09 antograssiot