[Koha-bugs] [Bug 22575] Item type administration uses invalid error class for dialog

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 29 20:00:53 CET 2019


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

Pierre-Marc Thibault <pierre-marc.thibault at inlibro.com> changed:

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

--- Comment #2 from Pierre-Marc Thibault <pierre-marc.thibault at inlibro.com> ---
Created attachment 87234
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87234&action=edit
Bug 22575: Item type administration uses invalid error class for dialog

This patch modifies the item types administration script so that it
passes a valid message type to the template, where the type is used as a
CSS class. "Error" is a nonexistent dialog class. It should be "alert."

To test, apply the patch and go to Administration -> Item types.

 - Try to delete an item type which is in use. The style of the error
   dialog should be correct.
 - Try to add an item type using a code which already exists. The error
   should look correct.

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault at inLibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list