[Koha-bugs] [Bug 11877] Eliminate use of deprecated jQuery .live() method

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 3 16:40:25 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11877

--- Comment #3 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Comment on attachment 25744
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25744
Bug 11877 - Eliminate use of deprecated jQuery .live() method

Review of attachment 25744:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=11877&attachment=25744)
-----------------------------------------------------------------

::: koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt
@@ +40,4 @@
>              }
>              return valid;
>          });
> +        $("body").on("click","#renewselected_link",function(){

IS there a reason to prefer this way instead of:
  $("#renewselected_link").on("click", function(){
?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list