Talk:Gallery3:Modules:kbd nav - Gallery Codex
Personal tools

Talk:Gallery3:Modules:kbd nav

From Gallery Codex

Integration with Shadowbox / Grey Dragon Theme

I had to make a few changes to disable spurious page switches while using the arrow keys in dialogs (such as the Edit Album) dialog.

In modules/kbd_nav/js/kbd_nav.js, just following the $(this).bind("keydown"... line, change next three lines to read as follows:

    if ($('#sb-content').is(':visible')) {
      return true;

Also, you'd think that would be a return false, as we're not handling the event... but not in JQuery, no...

--Dae1804 00:17, 13 August 2010 (UTC)