Koha/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing
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
..
value_builder Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
addbiblio.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
addbooks.tt Bug 15682 - Merging records from cataloguing search only allows to merge 2 records 2016-04-20 20:55:52 +00:00
additem.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
editor.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
linkitem.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
merge.tt Bug 16238: Use .prop() instead of .attr() for 'checked' 2016-04-29 14:18:24 +00:00
moveitem.tt Bug 15959: Use Font Awesome icons for attach item confirmations 2016-03-03 22:54:05 +00:00
z3950_auth_search.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
z3950_search.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00