I have seen a few postings about this but none seemed to ever be
resolved. In my app, if I set the debug = 0 the following doesn't
work.
echo '<li id="Car'.$c['id'].'">';
echo '<span class="rightactions">';
echo $ajax->link('Remove', '/lots/removecar/'.$lot['Lot']['id'].'/'.$c
['id'], array('class'=>'action delete','success'=>'Effect.Fade
(\'Car' . $c['id'] . '\');'), 'Are you sure you want to remove this
car from this lot?', false);
echo '</span>';
echo $c['Make].' '.$s['vin'];
echo '</li>';
(Entities changed to protect the innocent.)
The odd thing is that if i set it to Debug >0 it works as its supposed
to.
Looking at the call in Firebug, I see that at debug 0 the call gets a
404 error that the /lots/removecar page was not found, whereas with
debug > 0 it works fine.
Any idea on how to fix this?
Thanks,
SF
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---