[Koha-bugs] [Bug 6696] New category button broken when no categories defined

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 10 17:47:58 CEST 2011


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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> 2011-08-10 15:47:58 UTC ---
Created attachment 4949
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4949
Proposed fix

The javascript tablesorter will trigger an error if we try
to apply it to a table with no <tbody>. That error prevented
the YUI button script to complete properly, hence the broken
button.

This patch hides the table in cases where there are no
categories and displays an error message instead.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list