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

Katrin Fischer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #4949|0                           |1
        is obsolete|                            |

--- Comment #3 from Katrin Fischer <[email protected]> 2011-08-11 
17:45:48 UTC ---
Created attachment 4971
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4971
[SIGNED-OFF] Fix for Bug 6696, New category button broken when no categories
defined

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.

Signed-off-by: Katrin Fischer <[email protected]>
- Deleted all patron categories and checked button was broken
- Applied patch and checked again - button shows up
- Nice: There is a note now that you have to create categories

-- 
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
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