since I've upgraded to Yii 1.11, the code below raises a JS error. If I remove the 'js:' prefix on the success function, everything works fine again.
echo CHtml::ajaxLink('delete selection', $this->createUrl('deleteBulkSent'), array( 'type' => 'post', 'data' => "js:{ids:$.fn.yiiGridView.getSelection('message-grid'), YII_CSRF_TOKEN : '".$csrfToken."'}", 'success' => 'js:function(data, textStatus, XMLHttpRequest){'. 'if(data!=0)$.fn.yiiGridView.update("message-grid")}' ), array( 'confirm' => 'are you sure ?', ) );
If I understood correctly upgrade instructions, there should not be any change with 1.11, but obviously I missed something.
Thanks in advance for your help.
ciao
