Index: branches/1.0.x/products/details.tpl
===================================================================
diff -u -N -r15036 -r15054
--- branches/1.0.x/products/details.tpl (.../details.tpl) (revision 15036)
+++ branches/1.0.x/products/details.tpl (.../details.tpl) (revision 15054)
@@ -102,10 +102,12 @@
Print this Page
-
- Remove from Comparison List
-
- Compare to other Products
+
+
+ Remove from Comparison List
+
+ Compare to other Products
+
Add to Wishlist
Index: branches/1.0.x/elements/side_boxes/compare.elm.tpl
===================================================================
diff -u -N -r15043 -r15054
--- branches/1.0.x/elements/side_boxes/compare.elm.tpl (.../compare.elm.tpl) (revision 15043)
+++ branches/1.0.x/elements/side_boxes/compare.elm.tpl (.../compare.elm.tpl) (revision 15054)
@@ -56,12 +56,24 @@
create_tooltip($compare_checkbox, 'Removed from Comparison', 'formNeutral');
+ $compare_checkbox.attr('checked', false);
create_tooltip($compare_checkbox, 'Up to products can be compared', 'formError');
$compare_checkbox.attr('checked', false);
+
+
+ $(".compare-checkbox:checked", '#products')
+ .each(
+ function () {
+ var $me = $(this);
+ create_tooltip($me, 'Removed from Comparison', 'formNeutral');
+ $me.attr('checked', false);
+ }
+ );
+
}
);