Commit 6f21634b authored by Nathan Haug's avatar Nathan Haug
Browse files

Removed required attribute from "Title" field

parent f695ec1c
......@@ -245,7 +245,6 @@ function link_widget($op, &$node, $field, &$node_field) {
'#type' => 'textfield',
'#title' => t('Title'),
'#default_value' => $node_field['value']['title'],
'#required' => ($delta == 0) ? $field['required'] : FALSE,
);
if ($field['attributes']['target'] == 'user') {
$form[$field['field_name']]['value']['attributes']['target'] = array(
......@@ -422,4 +421,4 @@ function link_validate_link($text) {
$url->port = $m[10];
return $url;
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment