Skip to content

Commit

Permalink
fix typo in page_setting_status to show datetimepicker when choosing …
Browse files Browse the repository at this point in the history
…"scheduledAt"
  • Loading branch information
Leny BERNARD committed Jun 3, 2016
1 parent dcb7cc5 commit 913b3ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function prepend(ContainerBuilder $container)

if (isset($config['available_locales'])) {
$container->prependExtensionConfig('a2lix_translation_form', [
'locales' => $config['available_locales']
'locales' => $config['available_locales'],
]);
}
}
Expand Down
2 changes: 1 addition & 1 deletion Bundle/PageBundle/Resources/views/Page/settings.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</div>

<script type="text/javascript">
$vic('#victoire_page_settings_type_status').on('change', function(){
$vic('#page_settings_status').on('change', function(){
if ($vic(this).val() == '{{ constant('Victoire\\Bundle\\PageBundle\\Entity\\PageStatus::SCHEDULED') }}') {
$vic('.publication-date-container').removeClass('vic-hidden');
} else {
Expand Down

0 comments on commit 913b3ea

Please sign in to comment.