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

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo