Bug 9333: Remove useless JS code - confirm close basket
commit4261a5193d967e29a9fe93df40f456602edbf01a
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 8 Apr 2015 10:47:43 +0000 (8 12:47 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 13 Apr 2015 14:31:34 +0000 (13 11:31 -0300)
tree6bb6032112d950ddb41445bd8cff4a104aad2ab7
parentfe2e05fb6f82e6ac48209ad3af8a9623fc08eda6
Bug 9333: Remove useless JS code - confirm close basket

On closing a basket, the librarian is redirect to a new page for the
confirmation, the JavaScript confirmation is useless.

This code is never triggered and can be removed.

Test plan:
Without this patch, confirm you don't get a JavaScript confirmation
popup on closing a basket
With this patch, confirm you don't get any JavaScript error on
closing/reopening a basket.

NOTE: acqui/basket.tt is only used by acqui/basket.pl
      git grep "confirm_close" | grep -v "\.po:"
      doesn't show anything else. Reopening only works on
      basketgroups, not baskets. Unable to trigger any errors
      as expected and desired. :)

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt