[Koha-bugs] [Bug 22768] New: Basic MARC editor tab keyboard navigation broekn

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 24 18:29:26 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22768

            Bug ID: 22768
           Summary: Basic MARC editor tab keyboard navigation broekn
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
                CC: dpavlin at rot13.org, testopia at bugs.koha-community.org
        Depends on: 22045
            Blocks: 22399
  Target Milestone: ---

Dobrica's comment from Bug 22045:

This bug broke keyboard shortcuts because of following change:

--- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js
+++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js
@@ -31,7 +31,7 @@ $.fn.tabIndex = function () {
     return $(this).parent().children('div').index(this);
 };
 $.fn.selectTabByID = function (tabID) {
-    $(this).tabs("option", "active", $(tabID).tabIndex());
+    $(this).tabs("option", "active", $( "#" + tabID ).tabIndex());
 };

  $(document).ready(function() {

without modification to calling which also prefix tabID with #, thus creating
invalid ##tabID


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22045
[Bug 22045] Cataloging UX enhancement - Improve access to tabs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22399
[Bug 22399] Improve responsive behavior of the basic marc editor
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list