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