HFP-2075 Don't require protocol for metadata source field
parent
4d286b0bdb
commit
9432d80b23
|
@ -4254,11 +4254,7 @@ class H5PContentValidator {
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'label' => $this->h5pF->t('Source'),
|
'label' => $this->h5pF->t('Source'),
|
||||||
'placeholder' => 'https://',
|
'placeholder' => 'https://',
|
||||||
'optional' => TRUE,
|
'optional' => TRUE
|
||||||
'regexp' => array(
|
|
||||||
'pattern' => '^http[s]?://.+',
|
|
||||||
'modifiers' => 'i'
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue