[Koha-bugs] [Bug 22045] Cataloging UX enhancement - Improve access to tabs
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 28 16:40:45 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22045
Dobrica Pavlinusic <dpavlin at rot13.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |dpavlin at rot13.org
Resolution|FIXED |---
--- Comment #34 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list