Changeset 5921 for freepbx

Show
Ignore:
Timestamp:
07/06/08 01:19:52 (5 months ago)
Author:
p_lindheimer
Message:

#2845: add tabindex to drawselects for destination radio buttons

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/functions.inc.php

    r5871 r5921  
    16371637// ie: if the form name is "edit", and drawselects has been called with $i=2 then use onsubmit="setDestinations(edit,2)" 
    16381638function drawselects($goto,$i,$show_custom=false) {   
     1639global $tabindex; 
    16391640         
    16401641        /* --- MODULES BEGIN --- */ 
     
    16821683                $cat_identifier = preg_replace('/[^a-zA-Z0-9]/','_', $cat); 
    16831684                         
    1684                 $selectHtml .=  '<input type="radio" id="'.$radioid.'" name="goto'.$i.'" value="'.$cat_identifier.'" '. 
     1685                $tabindex_txt = (isset($tabindex) && $tabindex != '') ? ' tabindex="'.++$tabindex.'" ':''; 
     1686                $selectHtml .=  '<input type="radio" '.$tabindex_txt.'id="'.$radioid.'" name="goto'.$i.'" value="'.$cat_identifier.'" '. 
    16851687                                //'onclick="javascript:this.form.goto'.$i.'.value=\''.$cat.'\';" '. 
    16861688                                //'onkeypress="javascript:if (event.keyCode == 0 || (document.all && event.keyCode == 13)) this.form.goto'.$i.'.value=\''.$cat.'\';" '. 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads