Changeset 6541


Ignore:
Timestamp:
06/19/12 10:23:29 (12 years ago)
Author:
gustavo
Message:

Ticket #2766 - Integracao com a nova funcionalidade de visualizar informacoes de filtro fora de escritorio

Location:
trunk/expressoMail1_2/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/doiMenuData.js

    r6531 r6541  
    313313                menuItensLabel["TelefoneValue"] = {name: data[2].value, disabled: true}; 
    314314        } 
     315        if(data[3]){ 
     316                if(data[3].value == "TRUE"){ 
     317                        menuItensLabel["outOffice"] = {name: "<b>"+get_lang("Out of office")+"</b>", disabled: true}; 
     318                        menuItensLabel["outOfficeValue"] = {name: data[4].value.substring(0, 20), disabled: true}; 
     319                } 
     320        } 
    315321        $.contextMenu({ 
    316322                selector: "#content_id_"+currentTab+" "+element+" .box-info", 
  • trunk/expressoMail1_2/js/draw_api.js

    r6539 r6541  
    39093909                                }).find(".box-input").val("\""+data.collection.itens[0].data[0].value+"\" <"+data.collection.itens[0].data[1].value+">"); 
    39103910                                box.find(".email-box-value").html( (data.collection.itens[0].data[0].value.length > 18 ? data.collection.itens[0].data[0].value.substring(0, 15)+"...": data.collection.itens[0].data[0].value)) 
     3911                                if(data.collection.itens[0].data[3].value == "TRUE"){ 
     3912                                        box.removeClass("invalid-email-box").addClass("out-office-box"); 
     3913                                } 
    39113914                        } 
    39123915                }else{ 
Note: See TracChangeset for help on using the changeset viewer.