Skip to content

Commit

Permalink
Dev: use LSYii_ClientScript::registerCssFile in participantaction
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed May 3, 2017
1 parent eb92b8c commit 64bcbea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/controllers/admin/participantsaction.php
Expand Up @@ -2484,8 +2484,9 @@ public function attributeMap()
public function attributeMapToken()
{
Yii::app()->loadHelper('common');
$oAdminTheme = AdminTheme::getInstance();
App()->getClientScript()->registerScriptFile( App()->getConfig('adminscripts') . 'attributeMapToken.js');
$this->registerCssFile( 'ADMIN', 'attributeMapToken.css' );
App()->getClientScript()->registerCssFile( $oAdminTheme->sTemplateUrl.'/css/attributeMapToken.css' );

$iSurveyID = (int)Yii::app()->request->getQuery('sid');
$aCPDBAttributes = ParticipantAttributeName::model()->getCPDBAttributes();
Expand Down

0 comments on commit 64bcbea

Please sign in to comment.