Bug 16338 - Remove the use of "onclick" from the lists template
authorOwen Leonard <oleonard@myacpl.org>
Mon, 25 Apr 2016 01:07:19 +0000 (21:07 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 16:38:37 +0000 (16:38 +0000)
commiteb55af6d8660482db494e12215fe212c7c34dec7
tree2f4065b9529b069cf15e6153d31c3ba27270b87a
parentc01bb7dfca65bfbc26197a3039988ba775eb4e79
Bug 16338 - Remove the use of "onclick" from the lists template

This patch removes the use of "onclick" from the list delete button,
moving the event definition into the script.

Also changed: Removed some unnecessary link markup; Added some
whitespace around the action buttons.

To test, apply the patch and go to Lists.

Click the "Delete" button next to any list. You should be prompted to
confirm the deletion. Verify that both confirming and canceling the
deletion works correctly.

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt