Changeset 5669


Ignore:
Timestamp:
03/07/12 17:46:27 (12 years ago)
Author:
angelo
Message:

Ticket #2518 - Correcao em elementos da janela cadastro e alteracao de contatos

Location:
trunk/contactcenter
Files:
2 edited

Legend:

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

    r5661 r5669  
    16411641                        return '<td style="position: absolute; left: 0; top: 0; z-index: -1; visibility: hidden"><input id="cc_conn_id_' + CC_conn_count + '" type="hidden" value="_NEW_"><input id="cc_conn_is_default_' + CC_conn_count + '" type="hidden" value="false"></td>'+ 
    16421642                        //'<td style="width: 30px;" align="right"><input name="cc_conn_is_default" id="cc_conn_is_default_'+ CC_conn_count +'" type="radio"></td>'+ 
    1643                         '<td style="width: 10px;" align="right"><input id="cc_conn_name_'+CC_conn_count+'" type="hidden"><td style="width: 100px;" align="right"><span style="width: 150px;" id="cc_conn_label_'+CC_conn_count+'">'+_label+':'+'</span></td>' + 
     1643                        '<td style="width: 10px;" align="right"><input id="cc_conn_name_'+CC_conn_count+'" type="hidden"><td style="width: 100px; padding-left: 55px;" align="left"><span style="width: 150px;" id="cc_conn_label_'+CC_conn_count+'">'+_label+':'+'</span></td>' + 
    16441644                        '<td align="left"><input id="cc_conn_value_'+ CC_conn_count +'" onkeyup="javascript:emailTolower(\'cc_conn_value_' + CC_conn_count + '\')" style="width: 150px;" maxlength="100" type="text">&nbsp;' + 
    16451645                        '<img align="top" alt="X" title="X" src="templates/default/images/x.png" style="width:18px; height:18px; cursor:pointer;" onclick="javascript:removeConnField(\'cc_conn_tr_' + CC_conn_count + '\')"></td>'; 
     
    16491649                        return '<td style="position: absolute; left: 0; top: 0; z-index: -1; visibility: hidden"><input id="cc_conn_id_' + CC_conn_count + '" type="hidden" value="_NEW_"><input id="cc_conn_is_default_' + CC_conn_count + '" type="hidden" value="false"></td>'+ 
    16501650                        //'<td style="width: 30px;" align="right"><input name="cc_conn_is_default" id="cc_conn_is_default_'+ CC_conn_count +'" type="radio"></td>'+ 
    1651                         '<td style="width: 10px;" align="right"><input id="cc_conn_name_'+CC_conn_count+'" type="hidden"><td style="width: 100px;" align="right"><span style="width: 150px;" id="cc_conn_label_'+CC_conn_count+'">'+_label+':'+'</span></td>' + 
     1651                        '<td style="width: 10px;" align="right"><input id="cc_conn_name_'+CC_conn_count+'" type="hidden"><td style="width: 100px; padding-left: 55px;" align="left"><span style="width: 150px;" id="cc_conn_label_'+CC_conn_count+'">'+_label+':'+'</span></td>' + 
    16521652                        '<td align="left"><input id="cc_conn_value_'+ CC_conn_count +'" onkeyup="javascript:emailTolower(\'cc_conn_value_' + CC_conn_count + '\')" style="width: 150px;" maxlength="30" type="text" onkeyup="formatPhone(this)">&nbsp;' + 
    16531653                        '<img align="top" alt="X" title="X" src="templates/default/images/x.png" style="width:18px; height:18px; cursor:pointer;" onclick="javascript:removeConnField(\'cc_conn_tr_' + CC_conn_count + '\')"></td>'; 
     
    16951695 
    16961696                var _span = document.createElement("SPAN"); 
    1697                 _span.style.width = "150px"; 
     1697                _span.style.width = "100px"; 
    16981698                _span.id = "cc_conn_label_"+CC_conn_count; 
    16991699                _span.innerHTML = _label + ':'; 
    17001700                tds[0].appendChild(inputs[0]); 
     1701                tds[1].width = '40px'; 
    17011702                tds[1].appendChild(inputs[1]); 
    1702                 tds[1].align = 'right'; 
     1703                tds[1].align = 'left'; 
     1704                tds[1].style.padding = "0px 0px 0px 75px"; 
    17031705                tds[1].appendChild(_span); 
    17041706                tds[2].appendChild(inputs[2]); 
  • trunk/contactcenter/templates/default/full_add.tpl

    r5661 r5669  
    213213                <tr> 
    214214                        <td align="center"> 
    215                                 <input id="cc_contact_save" style="width: 100px;" type="button" value="{cc_contact_save}" onclick="javascript:postFullAdd();"> 
    216                                 <input id="cc_contact_reset" style="width: 100px;" type="button" value="{cc_contact_reset}" onclick="javascript:resetFullAdd();"> 
    217                                 <input id="cc_contact_cancel" style="width: 100px;" type="button" value="{cc_contact_cancel}" onclick="javascript:closeFullAdd();"> 
     215                                <input id="cc_contact_save" style="width: 100px; cursor: pointer;" type="button" value="{cc_contact_save}" onclick="javascript:postFullAdd();"> 
     216                                <input id="cc_contact_reset" style="width: 100px; cursor: pointer;" type="button" value="{cc_contact_reset}" onclick="javascript:resetFullAdd();"> 
     217                                <input id="cc_contact_cancel" style="width: 100px; cursor: pointer;" type="button" value="{cc_contact_cancel}" onclick="javascript:closeFullAdd();"> 
    218218                        </td> 
    219219                </tr> 
Note: See TracChangeset for help on using the changeset viewer.