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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Sun, 15 Jul 2018 18:40:21 +0000 (19:40 +0100)
commit48cecf7935728420567f62214c672c30e5fdfd7a
tree6a92327cfec12071127027f6688e54a67e013d6a
parente7501a92aa6b4ca91a55f984443cfcfbeb76a797
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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/catalog.js