Skip to content

Commit

Permalink
Merge branch 'master' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
shi-yang committed Jul 20, 2015
2 parents 10ea848 + dc9728c commit 6debe96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/widgets/laydate/LayDateAsset.php
Expand Up @@ -12,7 +12,7 @@
*/
class LayDateAsset extends AssetBundle
{
public $sourcePath = '@common/widgets/Laydate/assets';
public $sourcePath = '@common/widgets/laydate/assets';

public $js = [
'laydate.js',
Expand Down
Expand Up @@ -17,7 +17,7 @@

<?= $form->field($profile, 'gender')->radioList([Yii::t('app', 'Male'), Yii::t('app', 'Female')]) ?>

<?= $form->field($profile, 'birthdate')->widget('common\widgets\layDate\LayDate', [
<?= $form->field($profile, 'birthdate')->widget('common\widgets\laydate\LayDate', [
'clientOptions' => [
'istoday' => false,
]
Expand Down
2 changes: 1 addition & 1 deletion vendor/shiyang/yii2-umeditor/UMeditor.php
Expand Up @@ -64,7 +64,7 @@ public function run()
protected function registerClientScript()
{
$view = $this->getView();
UmeditorAsset::register($view);
UMeditorAsset::register($view);
$id = $this->options['id'];
$options = Json::encode($this->clientOptions);
$js = "window.um = UM.getEditor('$id', $options);";
Expand Down

0 comments on commit 6debe96

Please sign in to comment.