[phplib-dev] cvs commit From: uw (phplib-dev <email protected>)
Date: 01/22/01

From: uw
Date: Mon Jan 22 22:28:00 2001
Modified files:
      php-lib/php/form/form_element_radio.inc

Log message:
Fixed a tabindex bug.

Index: php-lib/php/form/form_element_radio.inc
diff -u php-lib/php/form/form_element_radio.inc:1.8 php-lib/php/form/form_element_radio.inc:1.9
--- php-lib/php/form/form_element_radio.inc:1.8 Sat Jan 6 02:03:00 2001
+++ php-lib/php/form/form_element_radio.inc Mon Jan 22 22:27:29 2001
@@ -3,7 +3,7 @@
 * Generation of radio elements, [input type="radio" value=""].
 *
 *  <email protected> Ulf Wendel <uw <email protected>>
-*  <email protected> $Id: form_element_radio.inc,v 1.8 2001/01/06 01:03:00 uw Exp $
+*  <email protected> $Id: form_element_radio.inc,v 1.9 2001/01/22 21:27:29 uw Exp $
 *  <email protected> public
 *  <email protected> Form
 */
@@ -45,7 +45,7 @@
                         $html .= "checked ";
                 if ("" != $this->accesskey)
                         $html .= sprintf('accesskey="%s" ', $this->accesskey);
- if ("" != $this->tabindex)
+ if ($this->tabindex > 0)
                         $html .= sprintf('tabindex="%d" ', $this->tabindex);
 
                 $html .= $this->getCommonHTMLAttributes();

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>