HFP-2075 Don't require protocol for metadata source field

pull/52/head
Oliver Tacke 2018-06-27 15:59:34 +02:00
parent 4d286b0bdb
commit 9432d80b23
1 changed files with 1 additions and 5 deletions

View File

@ -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
)
)
),