Ignore:
Timestamp:
02/16/11 13:57:59 (13 years ago)
Author:
thiagoaos
Message:

Ticket #1555 - Corrigida a edição do rascunho quando não tem um destinatário.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/js/draw_api.js

    r3716 r3770  
    17401740                div_toaddress.innerHTML += " (<a STYLE='color: RED;' onclick=javascript:show_div_address_full('"+ID+"','to');>"+get_lang('more')+"</a>)"; 
    17411741                to.appendChild(div_toaddress); 
    1742         } 
     1742        }  
    17431743        else { 
    1744                 toAdd = toaddress_array[ID].toString().replace("<","&lt;"); 
    1745                                 toAdd = toAdd.replace(">","&gt;"); 
    1746                                 to.innerHTML += draw_plugin_cc(ID,toAdd); 
     1744                toAdd = toaddress_array[ID].toString() 
     1745                if( trim(toAdd) != "" ) { 
     1746                        toAdd = toAdd.replace("<","&lt;").replace(">","&gt;"); 
     1747                } else { 
     1748                        toAdd = get_lang("without destination"); 
     1749                } 
     1750                 
     1751                to.innerHTML += draw_plugin_cc(ID,toAdd); 
    17471752        } 
    17481753        to.className = "header_message_field"; 
Note: See TracChangeset for help on using the changeset viewer.