Bug 12746 - Remove empty onclick attribute from memberentrygen.tt
authorMarc Véron <veron@veron.ch>
Tue, 29 Jul 2014 14:56:44 +0000 (16:56 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 8 Sep 2014 13:53:27 +0000 (10:53 -0300)
This patch removes empty onclick attribute from memberentrygen.tt

To test:
Apply patch.
Use git grep 'onclick=""' to make sure that there are no more empty onlick attributes
Go to Home > patrons  and click 'New patron'
Check HTML of 'Cancel' link
Make sure that 'Cancel' link still works

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Changes the link to cancel adding a manual restriction.
No regressions found.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt

index da52fb7..56cc570 100644 (file)
 
                         </ol>
                         <p>
-                            <a class="cancel" id="cancel_manual_restriction" href="#" onclick="">Cancel</a>
+                            <a class="cancel" id="cancel_manual_restriction" href="#">Cancel</a>
                         </p>
                     </fieldset>
                 [% END %]