Skip to content

Commit

Permalink
del common
Browse files Browse the repository at this point in the history
  • Loading branch information
ihor-muravshchyk committed Dec 18, 2015
1 parent 2baf0e8 commit ac3b7b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pwstrength.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use Yii;
use yii\helpers\Html;
use yii\widgets\InputWidget;
https://teamwox.privatefx.com/tasks/view/141


class Pwstrength extends InputWidget
{
Expand Down Expand Up @@ -45,7 +45,7 @@ public function registerAssets()
$pwstrengthParams .= "usernameField: '{$this->usernameField}'";

PwstrengthAsset::register($this->view);
Yii::$app->view->registerJs("jQuery('#" . $this->options['id'] . "'). pwstrength({common: {$pwstrengthParams}});");
Yii::$app->view->registerJs("jQuery('#" . $this->options['id'] . "'). pwstrength({ {$pwstrengthParams}});");
}

}

0 comments on commit ac3b7b7

Please sign in to comment.