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

Apache NiFi ExecuteScript: Groovy script to replace Json values via a mapping file -

node.js - How do I prevent MongoDB replica set from querying the primary? -

python 3.x - PyQt5 - Signal : pyqtSignal no method connect -