Error Fix: Delete Action Calls for Get Request in YII CGridView
Suddenly, I noticed that delete button in YII CGridView didn't work.
Yii::app()->request->isPostRequest would return false, which means that variables were passed through $_GET request.
After checking FireBug js error, I had to update jquery.ba-bbq.js file and jquery.yiigridview.js file and updated jquery.js just in case.
https://github.com/yiisoft/yii/issues/2069
http://code.google.com/p/zii/source/browse/trunk/widgets/assets/gridview/jquery.yiigridview.js?r=208
Be sure to delete the specific folder that saved the javascript file in assets folder to delete the cache.
Everything is working fine after that~
No comments:
Post a Comment