[PATCH 1 of 2 for stable] bookmarks: fix 'compare bookmarks' button

Thomas De Schampheleire patrickdepinguin at gmail.com
Sun Oct 11 20:14:01 UTC 2015


# HG changeset patch
# User Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
# Date 1444594151 -7200
#      Sun Oct 11 22:09:11 2015 +0200
# Node ID d99d46b9ed8092d27c1a8c535565285fdca73303
# Parent  23a86f1c33a1e64b4ae150b16749f6c629bee149
bookmarks: fix 'compare bookmarks' button

Commit b0774d79c7c95ec14ec6d23389d85ed544dd4b50 broke the 'Compare
bookmarks' button on the repository bookmarks page, when attempting to
replace a Yahoo UI click handler with jQuery.

diff --git a/kallithea/templates/bookmarks/bookmarks.html b/kallithea/templates/bookmarks/bookmarks.html
--- a/kallithea/templates/bookmarks/bookmarks.html
+++ b/kallithea/templates/bookmarks/bookmarks.html
@@ -31,7 +31,7 @@
 </div>
 
 <script type="text/javascript">
-$('#compare_bookmarks','click',function(e){
+$('#compare_bookmarks').click(function(e){
     e.preventDefault();
     var org = $('input[name=compare_org]:checked')[0];
     var other = $('input[name=compare_other]:checked')[0];


More information about the kallithea-general mailing list