Bug 16310 - Remove the use of "onclick" from audio alerts template
commitfcd139b22239206142809993cf9e328a3cdce38d
authorOwen Leonard <oleonard@myacpl.org>
Wed, 20 Apr 2016 14:29:03 +0000 (20 10:29 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 1 Aug 2016 14:35:27 +0000 (1 14:35 +0000)
tree4959a23e38735dd5b5f3da95b88eef395cc15ff0
parent537adde2d2f65ed9bb9a03a127b9906930d46353
Bug 16310 - Remove the use of "onclick" from audio alerts template

This patch removes one use of "onclick" in favor of defining events in
the JavaScript.

This patch also makes changes to the style of some buttons to make the
interface a little more consistent with current practices.

To test, apply the patch and go to Administration -> Audio alerts.

- In the list of existing audio alerts, click the "Edit" button for any
  alert. The correct data should be loaded in the edit form.

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
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/admin/audio_alerts.tt
koha-tmpl/intranet-tmpl/prog/js/audio_alerts.js