Browse files

MINOR Stop using deprecated getTabIndex() in CreditCardField

  • Loading branch information...
1 parent 9052cdc commit 592d42e477d6b6606865ec6ed63fc0277e8fa7e5 @chillu chillu committed May 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 forms/CreditCardField.php
View
2 forms/CreditCardField.php
@@ -27,7 +27,7 @@ function Field($properties = array()) {
* @return string
*/
protected function getTabIndexHTML($increment = 0) {
- $tabIndex = (int)$this->getTabIndex() + (int)$increment;
+ $tabIndex = (int)$this->getAttribute('tabindex') + (int)$increment;
return (is_numeric($tabIndex)) ? ' tabindex = "' . $tabIndex . '"' : '';
}

0 comments on commit 592d42e

Please sign in to comment.