Fix for Bug 3687, Empty "Add to" with cart off and non-logged-in user.

This commit is contained in:
Owen Leonard 2009-12-16 15:01:27 -05:00 committed by Henri-Damien LAURENT
parent ce452b0259
commit 9521247644

View file

@ -114,7 +114,7 @@ $(document).ready(function(){
});
$("span.clearall").html("<a id=\"CheckNone\" href=\"#\">"+_("Clear All")+"<\/a>");
$("span.checkall").html("<a id=\"CheckAll\" href=\"#\">"+_("Select All")+"<\/a>");
$("span.addto").html(param1);
<!-- TMPL_IF NAME="opacbookbag" -->$("span.addto").html(param1);<!-- TMPL_ELSE --><!-- TMPL_IF NAME="virtualshelves" --><!-- TMPL_IF NAME="loggedinusername" -->$("span.addto").html(param1);<!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF -->
$("#addto").change(function(){
cartList();
});