Changeset 2742 for trunk/contactcenter


Ignore:
Timestamp:
05/07/10 17:14:16 (14 years ago)
Author:
rodsouza
Message:

Ticket #1058 - Tratando lacuna exibida na exibição no formato tabela.

Location:
trunk/contactcenter/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/js/cc.js

    r2630 r2742  
    20982098                                                                if(data[3][pos][12]) 
    20992099                                                                        Element(id+':'+data[2][k]).innerHTML += "<br><span style='margin-left:30px'><font size='-2' color='#808080'><i>"+data[3][pos][12]+"</i></font></span>";  
     2100                                                                Element(id+':cc_name').parentNode.style.display = 'table-cell'; 
    21002101                                                                break; 
    21012102 
     
    21102111                                                                        Element(id+':'+data[2][k]).innerHTML = data[5] + data[3][pos][k] + '\')">'+ data[3][pos][k]+'</span>'; 
    21112112                                                                } 
     2113                                                                Element(id+':cc_mail').parentNode.style.display = 'table-cell'; 
    21122114                                                                break; 
    21132115 
     
    21232125                                                                } 
    21242126                                                                Element(id+':cc_phone').innerHTML = (data[3][pos][k].length < 23) ? data[3][pos][k]:data[3][pos][k].substr(0,22)+"<br>"+data[3][pos][k].substr(22,data[3][pos][k].length); 
     2127                                                                Element(id+':cc_phone').parentNode.style.display = 'table-cell'; 
    21252128                                                                break; 
    21262129 
     
    21522155 
    21532156                                                                Element(id+':cc_icon_group').innerHTML =  '<span title="'+Element('cc_participants').value+'"  onmouseout="window.status=\'\';" onclick="ccListParticipants.showList(\''+ Element(id+':cc_id').value + '\',null,null,null,\''+account_type+'\');return true;" style="cursor: pointer; cursor: hand; z-index: 1"><img src="' + URL_SERVER + 'contactcenter/templates/default/images/people-mini.png" align="center">&nbsp;&nbsp;</span>'; 
     2157                                                                Element(id+':cc_icon_group').parentNode.style.display = 'table-cell'; 
    21542158                                                                break; 
    21552159 
     
    21662170                                                                } 
    21672171                                                                Element(id+':cc_mobile').innerHTML = data[3][pos][k]; 
     2172                                                                Element(id+':cc_mobile').parentNode.style.display = 'table-cell'; 
    21682173                                                                break; 
    21692174 
     
    21802185                                                                } 
    21812186                                                                Element(id+':cc_empNumber').innerHTML = data[3][pos][k]; 
     2187                                                                Element(id+':cc_empNumber').parentNode.style.display = 'table-cell'; 
    21822188                                                                break; 
    21832189 
     
    21942200                                                                } 
    21952201                                                                Element(id+':cc_department').innerHTML = data[3][pos][k]; 
     2202                                                                Element(id+':cc_department').parentNode.style.display = 'table-cell'; 
    21962203                                                                break; 
    21972204 
     
    24732480                                html_card = '<tr  style="height:20px" id="' + id + '" onmouseout="'+bg+'" onmouseover="this.style.background=\'LIGHTYELLOW\'" bgcolor="EEEEEE">' + 
    24742481                                        //Para exibir a matricula do empregado na tabela 
    2475                                         '<td align="center" nowrap><span style="solid #999; font-weight: normal; font-size: 10px;height: 10px" id="' + id + ':cc_empNumber"></span></td>' + 
    2476                                         '<td width="auto" style="font-weight: normal; font-size: 10px; text-align: left; height: 10px;"><span valign="bottom" id="' + id + ':cc_icon_group">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="' + id + ':cc_name"></span></td>' + 
    2477                                         '<td style="solid #999; font-weight: normal; font-size: 10px; text-align: left; height: 10px"><span onMouseOver="this.title = \''+Element('cc_send_mail').value+' => '+'\'+document.getElementById(\''+id + ':cc_name\').innerHTML" id="' + id + ':cc_mail"></span></td>' + 
    2478                                         '<td align="center" nowrap><span style="solid #999; font-weight: normal; font-size: 10px;height: 10px" id="' + id + ':cc_phone"></span></td>' + 
     2482                                        '<td align="center" style="display:none;" nowrap><span style="solid #999; font-weight: normal; font-size: 10px;height: 10px" id="' + id + ':cc_empNumber"></span></td>' + 
     2483                                        '<td width="auto" style="display:none; font-weight: normal; font-size: 10px; text-align: left; height: 10px;"><span valign="bottom" id="' + id + ':cc_icon_group">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="' + id + ':cc_name"></span></td>' + 
     2484                                        '<td style="display: none; solid #999; font-weight: normal; font-size: 10px; text-align: left; height: 10px"><span onMouseOver="this.title = \''+Element('cc_send_mail').value+' => '+'\'+document.getElementById(\''+id + ':cc_name\').innerHTML" id="' + id + ':cc_mail"></span></td>' + 
     2485                                        '<td align="center" style="display:none;" nowrap><span style="solid #999; font-weight: normal; font-size: 10px;height: 10px" id="' + id + ':cc_phone"></span></td>' + 
    24792486                                        //Para exibir o celular empresarial do empregado na tabela 
    2480                                         '<td align="center" nowrap><span style="solid #999; font-weight: normal; font-size: 10px;height: 10px" id="' + id + ':cc_mobile"></span></td>' + 
     2487                                        '<td align="center" style="display:none;" nowrap><span style="solid #999; font-weight: normal; font-size: 10px;height: 10px" id="' + id + ':cc_mobile"></span></td>' + 
    24812488                                        //Para exibir o setor/lotacao do empregado na tabela 
    2482                                         '<td align="center" nowrap><span style="solid #999; font-weight: normal; font-size: 10px;height: 10px" id="' + id + ':cc_department"></span></td>' + 
    2483                                         '<td align="center" nowrap><span style="solid #999; font-weight: normal; font-size: 10px;height: 10px" id="' + id + ':cc_mobile"></span></td>' + 
    2484                                         '<td style="solid #999; font-weight: normal; font-size: 10px; text-align: left; height: 10px"><span onMouseOver="this.title = \''+Element('cc_send_mail').value+' => '+'\'+document.getElementById(\''+id + ':cc_name\').innerHTML" id="' + id + ':cc_mail"></span></td>' + 
     2489                                        '<td align="center" style="display:none;" nowrap><span style="solid #999; font-weight: normal; font-size: 10px;height: 10px" id="' + id + ':cc_department"></span></td>' + 
     2490                                        '<td align="center" style="display:none;" nowrap><span style="solid #999; font-weight: normal; font-size: 10px;height: 10px" id="' + id + ':cc_mobile"></span></td>' + 
     2491                                        '<td style="display: none; solid #999; font-weight: normal; font-size: 10px; text-align: left; height: 10px"><span onMouseOver="this.title = \''+Element('cc_send_mail').value+' => '+'\'+document.getElementById(\''+id + ':cc_name\').innerHTML" id="' + id + ':cc_mail"></span></td>' + 
    24852492                                        ( ccTree.catalog_perms == 1 ? 
    24862493                                        '<td align="left"><span valign="bottom" id="' + id + ':cc_icon_data"></span></td>':'') + 
  • trunk/contactcenter/js/connector.js

    r2729 r2742  
    315315                } 
    316316        } 
    317         var Connector = new cConnector(); 
    318                 Connector.setVisible(true); 
Note: See TracChangeset for help on using the changeset viewer.