Monday, January 30, 2012

Re: cakephp error interrupts my jquery callback

You need to get rid of all the cake errors on a failed save so it only returns  {"successful":false}

Looks like you have some sort of model/dbo error related to Not-Null-Constraint ... resolve that and all the controller should return true or false and your view can handle the response accordingly.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

No comments: