i’m using jquery.colorbox since yii 1.1.4
you can see my post in here
when 1.1.5 is released, i try to change yii 1.1.4 to 1.1.5
when jquery.colorbox loaded a page, i need to include js file
i used
Yii::app()->clientScript->registerScriptFile('myfile.js',CClientScript::POS_BEGIN)
i used CClientScript::POS_BEGIN, because POS_HEAD, POS_LOAD and POS_END can’t be loaded.
in yii 1.1.4 POS_BEGIN via jquery.colorbox, was running well each time i open the colorbox page.
in yii 1.1.5 it can load when i open the page for the first time, but when i close the page then i reopen the same page, my js file can’t be loaded.
i think, i still used yii 1.1.4 for a while.
and i think, it would be nice if isScriptFileRegistered can be used in POS_BEGIN via ajax.
to reduced a js file to load twice.
thanks