Merged revisions 47501 via svnmerge from

svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47501 | ischommer | 2007-12-22 17:26:09 +1300 (Sat, 22 Dec 2007) | 1 line
  
  fixed getTabIndex() typo
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52189 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-04-06 04:02:21 +00:00
parent f737d52138
commit 230e77e712

View File

@ -28,7 +28,7 @@ class TextField extends FormField {
'id' => $this->id(),
'name' => $this->attrName(),
'value' => $this->attrValue(),
'tabindex' => $this->getTabIndexHTML(),
'tabindex' => $this->getTabIndex(),
'maxlength' => ($this->maxLength) ? $this->maxLength : null,
'size' => ($this->maxLength) ? min( $this->maxLength, 30 ) : 30
);