php - Yii CCaptcha "Get New Code" doesn't show -


i have view uses renderpartial:

$this->renderpartial('mybankinfo', array('userentity'=>$userentity, 'useraccount'=>$useraccount, 'bonuspaymentmethodlist'=>$bonuspaymentmethodlist, 'modelcaptcha'=>$modelcaptcha) ,false,true); 

here's captcha code in view:

<?php $this->widget('ccaptcha',array('clickableimage' => true));  ?> 

it works when using render not when im rendering in partial.

there doesn't seem error on console, when clicked on image, refresh function called image isn't refresh nor "get new code" link appears.

however when refresh page, image refreshed (if clicked on in once).

is there particular js need reload? i've set process true though.


Popular posts from this blog

java - Cannot send AES encrypted messages of over 47 characters -

php - How to set default value of a select dynamically from database using smarty? -

telerik - Reformat image format in PDF -