Skip to content

Commit

Permalink
Merge pull request #11 from germanbisurgi/master
Browse files Browse the repository at this point in the history
Updated namespaces and dependencies
  • Loading branch information
eluhr authored Oct 29, 2018
2 parents 031b0c7 + 526a17b commit b3e0320
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"insolita/yii2-adminlte-widgets": "~1.1",
"2amigos/yii2-translateable-behavior": "^1.0.4",
"twig/twig": "2.*",
"dmstr/yii2-json-editor": "dev-master"
"dmstr/yii2-json-editor": "^0.2.0"
},
"repositories": {
"dmstr/yii2-json-editor": {
Expand Down
4 changes: 2 additions & 2 deletions src/views/crud/publication-item/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<?php \dmstr\modules\publication\assets\PublicationItemAssetBundle::register($this); ?>

<!-- attribute content_widget_json -->
<?php echo $form->field($model, 'content_widget_json')->widget(dmstr\JsonEditor\JsonEditorWidget::class, [
<?php echo $form->field($model, 'content_widget_json')->widget(dmstr\jsoneditor\JsonEditorWidget::class, [
'id' => 'content_widget_jsonEditor',
'schema' => $model->content_widget_schema,
'clientOptions' => [
Expand All @@ -99,7 +99,7 @@
]) ?>

<!-- attribute teaser_widget_json -->
<?php echo $form->field($model, 'teaser_widget_json')->widget(dmstr\JsonEditor\JsonEditorWidget::class, [
<?php echo $form->field($model, 'teaser_widget_json')->widget(dmstr\jsoneditor\JsonEditorWidget::class, [
'id' => 'teaser_widget_jsonEditor',
'schema' => $model->teaser_widget_schema,
'clientOptions' => [
Expand Down

0 comments on commit b3e0320

Please sign in to comment.