Dropped title="" when label is present
Was fucking with jQuery validate.
This commit is contained in:
parent
37a3411c12
commit
9c73061a0a
2 changed files with 0 additions and 10 deletions
|
@ -65,11 +65,6 @@ class HTML extends Object
|
||||||
{
|
{
|
||||||
$label = $this->label(array('for' => $attributes['name']), $attributes['label']);
|
$label = $this->label(array('for' => $attributes['name']), $attributes['label']);
|
||||||
|
|
||||||
if (!isset($attributes['title']))
|
|
||||||
{
|
|
||||||
$attributes['title'] = $attributes['label'];
|
|
||||||
}
|
|
||||||
|
|
||||||
unset($attributes['label']);
|
unset($attributes['label']);
|
||||||
|
|
||||||
return $label . $this->$method($attributes);
|
return $label . $this->$method($attributes);
|
||||||
|
|
5
jar.php
5
jar.php
|
@ -4224,11 +4224,6 @@ class HTML extends Object
|
||||||
{
|
{
|
||||||
$label = $this->label(array('for' => $attributes['name']), $attributes['label']);
|
$label = $this->label(array('for' => $attributes['name']), $attributes['label']);
|
||||||
|
|
||||||
if (!isset($attributes['title']))
|
|
||||||
{
|
|
||||||
$attributes['title'] = $attributes['label'];
|
|
||||||
}
|
|
||||||
|
|
||||||
unset($attributes['label']);
|
unset($attributes['label']);
|
||||||
|
|
||||||
return $label . $this->$method($attributes);
|
return $label . $this->$method($attributes);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue