1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 17:59:21 +02:00
Invalid URL type for input fields for paths

Some input fields were wrongly assigned a "url" type and browsers were
enforcing a valid URL to be put in these fields. Set them back to text.

Closes #1356.
This commit is contained in:
Phyks (Lucas Verney) 2016-08-02 18:52:28 +02:00
parent 178e53a82e
commit 7895409a2d
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ class Catalog_dropbox extends Catalog
{
$fields['apikey'] = array('description' => T_('API Key'), 'type'=>'text');
$fields['secret'] = array('description' => T_('Secret'), 'type'=>'password');
$fields['path'] = array('description' => T_('Path'), 'type'=>'url', 'value' => '/');
$fields['path'] = array('description' => T_('Path'), 'type'=>'text', 'value' => '/');
$fields['getchunk'] = array('description' => T_('Get chunked files on analyze'), 'type'=>'checkbox', 'value' => true);
return $fields;

View file

@ -101,7 +101,7 @@ class Catalog_local extends Catalog
public function catalog_fields()
{
$fields['path'] = array('description' => T_('Path'),'type'=>'url');
$fields['path'] = array('description' => T_('Path'),'type'=>'text');
return $fields;
}