I just upgraded from version 1.0.1.2708 to 1.1.5.3148, and found that one of my ajax links stopped working. When I switched it back to the old version, it worked again. It may be rare that this scenario occurs, but I thought I'd point it out to see if it's just something I'm doing wrong.
In this site, the user can browse through photos and add them to their shopping cart via ajax. When they click "Add to Cart", it refreshes the cart div via ajax to show all the photos in the cart and re-calculate the totals. This link still works fine. Using $ajax->link(). However, I am also using Lightbox 2.0, so that they can view a larger version of the image. Lightbox lets you specify text to go under the image in the title="" attribute of the link. If you use html in it, it must be escaped with htmlspecialchars(). So I created an ajax link inside of the title attribute so they could add the photo to their cart while looking at the enlarged lightbox version. It worked fine in 1.0.1.2708 and added it to the cart in the background (although since it darkens the screen, it's hard to see - I'm still trying to figure out how to make it update the link text via ajax as well as the cart so they know it's been updated.). But when I upgraded to 1.1.5.3148 (to test the ajax feature that updates multiple divs through one link), the link didn't work. It didn't give me an error, but the cart just didn't update, even when I used the exact same code in the view. Not sure why, but if anyone has any comments, I'd love to hear them. If you'd like to take a look at the site, it's still in development, but you can see it at: http://dev.screamcheesephotos.com (using 1.0.1.2708). Thanks, Brandon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
