Source

cruge / views / ui / registration.php

Diff from to

File views/ui/registration.php

 		<?php echo CHtml::ajaxbutton(
 			CrugeTranslator::t("Generar una nueva clave")
 			,Yii::app()->user->ui->ajaxGenerateNewPasswordUrl
-			,array('success'=>'js:fnSuccess','error'=>'js:fnError')
+			,array('success'=>new CJavaScriptExpression('fnSuccess'),
+				'error'=>new CJavaScriptExpression('fnError'))
 		); ?>
 	</div>
 </div>
 </div>
 <?php echo $form->errorSummary($model); ?>
 <?php $this->endWidget(); ?>
-</div>
+</div>