http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12135

--- Comment #1 from Owen Leonard <oleon...@myacpl.org> ---
There is code in the template which is supposed to fix this which stopped
working when we upgraded jQueryUI. The width of tables which are hidden in
non-visible tabs cannot be correctly calculated until they are shown--hidden
elements have no width. This code fixed it before the jQueryUI upgrade:

    $('#suggestiontabs').tabs({
        // Correct table sizing for tables hidden in tabs
        // http://www.datatables.net/examples/api/tabs_and_scrolling.html
        "show": function(event, ui) {
            var oTable = $('div.dataTables_wrapper>table',
ui.panel).dataTable();
            if ( oTable.length > 0 ) {
                oTable.fnAdjustColumnSizing();
            }
        }
    });

The jQueryUI API has changed, so this needs to be corrected on this page and
others.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to