Koha/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards
Julian Maurice 27770b7c8f Bug 16238: Use .prop() instead of .attr() for 'checked'
According to https://jquery.com/upgrade-guide/1.9/#attr-versus-prop-
.attr() is no longer correct to access the checked state of a checkbox.

This patch do the following replacements:
  .attr('checked')               =>  .prop('checked')
  .attr('checked, '')            =>  .prop('checked', false)
  .attr('checked, 'checked')     =>  .prop('checked', true)
  .attr('checked', boolValue)    =>  .prop('checked', boolValue)
  .removeAttr('checked')         =>  .prop('checked', false)
  .attr('checked') == 'checked'  =>  .is(':checked')

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-04-29 14:18:24 +00:00
..
tables Bug 15722: Escape patron infos for JSON in patron searches 2016-03-24 16:14:31 +00:00
edit-batch.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
edit-layout.tt Bug 16238: Use .prop() instead of .attr() for 'checked' 2016-04-29 14:18:24 +00:00
edit-profile.tt Bug 15211: Patron card creator needs tools sidebar 2015-12-31 14:58:58 +00:00
edit-template.tt Bug 15211: Patron card creator needs tools sidebar 2015-12-31 14:58:58 +00:00
home.tt Bug 16020 - Remove unused CSS and images following label creator UX changes 2016-03-22 00:58:58 +00:00
image-manage.tt Bug 15211: Patron card creator needs tools sidebar 2015-12-31 14:58:58 +00:00
manage.tt Bug 14131 - Patroncard: Add possibility to print from patron lists 2015-12-31 20:24:58 +00:00
print.tt Bug 15111: Do not include the antiClickjack legacy browser trick for greybox 2016-03-14 16:30:09 +00:00