Bug 20979: Fix confirm deletion popup when deleting a biblio
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Jun 2018 21:06:00 +0000 (18:06 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 12 Jul 2018 12:18:02 +0000 (12:18 +0000)
commitbcba640f115e07480c502c2bf8522acdb9d8d5df
tree0e1e9e5c2c659b73786a025dce4e42a68e0b4937
parenta6b8fc9b2e29b91cef62def4f8b4fed98efa9aea
Bug 20979: Fix confirm deletion popup when deleting a biblio

When deleting an empty bib, error messages pops up "1 order(s) are
using this record. You need order managing permissions to delete this
record." even though user has superlibrarian permissions.  Prevents the
deletion of the bib record.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/js/catalog.js