Bug 18869: [FOLLOW-UP] Make page reload after club or template delete
commitaf293fd8867729a9670d19231ca4377093a00438
authorAleisha Amohia <aleishaamohia@hotmail.com>
Sun, 9 Jul 2017 21:57:06 +0000 (9 21:57 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 30 Aug 2017 19:44:00 +0000 (30 16:44 -0300)
tree8a67d4396a5ef6f63990b37627701cdeff9a5052
parent79439a02626a6b14558091a958a27cafcefe73e0
Bug 18869: [FOLLOW-UP] Make page reload after club or template delete

If deleting the last club or template in a table, the row is deleted
from the webpage by ajax so the nice blue bubble message does not show.
This patch forces the page to reload so the blue bubble message shows
instead of the empty table.

To test:
Confirm that the blue message shows when tables are empty. Add a
template and a club, then delete a club. Confirm the page reloads and
the message shows. Test with template

Sponsored-by: Catalyst IT
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt