dont use html5 input type="url", as it requires a scheme (eg. http)

This commit is contained in:
Ralf Becker 2011-11-24 07:13:06 +00:00
parent ac78cbbdae
commit c5712cd6b5

View File

@ -141,7 +141,7 @@ class url_widget
if (!$readonly)
{
$cell['type'] = 'text';
$cell['size'] = "$size,$max_size,$preg,url";
$cell['size'] = "$size,$max_size,$preg"; // ,url"; not using html url type, as it requires a scheme
// todo: (optional) validation
break;
}