Saturday, September 27, 2008

Re: weird ajax cake quirk? only works first time?

Nevermind guys! Realized one of my routes was routing wrong... I had
an extra "/" in the URL. omg @ these stupid bugs -_________-

On Sep 27, 12:31 pm, rocket <justin...@gmail.com> wrote:
> Hi guys,
> I made a digg like function that can hide unwanted articles, but it
> only works the first time?
>
> A user can come to the site, hide, and everything saves. But if he
> refreshes and tries to hide other articles, they don't save in the db
> for some reason? It seems to work on first page load, but not the
> second.
>
> I'm simply doing... $.post('article/hide/43') with jquery.
>
> Anyone else run into this weird quirk?
>
> rocket
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: