HFP-1896 Fix metadata form error handling

pull/52/head
Oliver Tacke 2018-06-25 11:31:09 +02:00
parent 2a53b7bb7b
commit 8190fe1d42
1 changed files with 2 additions and 2 deletions

View File

@ -4234,7 +4234,7 @@ class H5PContentValidator {
(object) array(
'name' => 'yearFrom',
'type' => 'number',
'label' => $this->h5pF->t('Years (from-to)'),
'label' => $this->h5pF->t('Years (from)'),
'placeholder' => '1991',
'min' => '-9999',
'max' => '9999',
@ -4243,7 +4243,7 @@ class H5PContentValidator {
(object) array(
'name' => 'yearTo',
'type' => 'number',
'label' => 'hiddenLabel',
'label' => $this->h5pF->t('Years (to)'),
'placeholder' => '1992',
'min' => '-9999',
'max' => '9999',