Two Ajax Calls With Ajaxlink

Hi everybody,

My project worked fine. But since yesterday, when i use an ajaxLink, there are two calls of the same function. It’s very strange.

I tried to undelegate the event in the beforesend or in the success. But nothing. I have always the problem.

Any suggests ?


You should start by posting the relevant code.

I think your ajax script is piled up. you need to make it accumulated first. if it is a jquery, the script to unpile it up is like this:

 Yii::app()->getClientScript()->scriptMap = array('jquery.js' => false);

but unfortunately Idk how if it’s ajax.