mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 09:49:30 +02:00
Fix issue #1356
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:
parent
178e53a82e
commit
7895409a2d
2 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ class Catalog_dropbox extends Catalog
|
||||||
{
|
{
|
||||||
$fields['apikey'] = array('description' => T_('API Key'), 'type'=>'text');
|
$fields['apikey'] = array('description' => T_('API Key'), 'type'=>'text');
|
||||||
$fields['secret'] = array('description' => T_('Secret'), 'type'=>'password');
|
$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);
|
$fields['getchunk'] = array('description' => T_('Get chunked files on analyze'), 'type'=>'checkbox', 'value' => true);
|
||||||
|
|
||||||
return $fields;
|
return $fields;
|
||||||
|
|
|
@ -101,7 +101,7 @@ class Catalog_local extends Catalog
|
||||||
|
|
||||||
public function catalog_fields()
|
public function catalog_fields()
|
||||||
{
|
{
|
||||||
$fields['path'] = array('description' => T_('Path'),'type'=>'url');
|
$fields['path'] = array('description' => T_('Path'),'type'=>'text');
|
||||||
|
|
||||||
return $fields;
|
return $fields;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue