Changeset 9234
- Timestamp:
- 03/16/10 07:01:05 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/common/script.legacy.js
r9230 r9234 654 654 var id=name.replace('goto',''); 655 655 var dest=$(this).val(); 656 $('[name$='+id+'] ').not(this).hide();657 $('[name='+dest+id+'] ').show();656 $('[name$='+id+'].destdropdown2').hide(); 657 $('[name='+dest+id+'].destdropdown2').show(); 658 658 }); 659 659 //hacky way to ensure destinations dropdown is the background-color as currently selected item freepbx/trunk/amp_conf/htdocs/admin/functions.inc.php
r9232 r9234 2058 2058 if($cat=='Error'){$style.=' '.$errorstyle;}//add error style 2059 2059 $style=' style="'.(($cat=='Error')?'background-color:red;':$style).'"'; 2060 $html.='<select name="'.str_replace(' ','_',$cat).$i.'" '.$tabindexhtml.$style.' >';2060 $html.='<select name="'.str_replace(' ','_',$cat).$i.'" '.$tabindexhtml.$style.' class="destdropdown2">'; 2061 2061 foreach($destination as $dest){ 2062 2062 $selected=($goto==$dest['destination'])?'SELECTED ':' ';
