Ignore:
Timestamp:
02/22/11 11:25:46 (13 years ago)
Author:
thiagoaos
Message:

Ticket #1567 - Corrigido edição do rascunho mantendo as opções dos checkbox.

Location:
branches/2.2/expressoMail1_2/js
Files:
2 edited

Legend:

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

    r3779 r3798  
    13331333                        td.innerHTML += "&nbsp;<img style='cursor:pointer' onclick='alert(\""+get_lang("This message is signed, but it is invalid. You should not trust on it.")+"\");' title='"+get_lang("Voided message")+"' src='templates/"+template+"/images/invalid.gif'>"; 
    13341334        } 
    1335  
     1335         
    13361336        if (info_msg.DispositionNotificationTo) 
    13371337        { 
    1338                 td.innerHTML += '&nbsp;<img style="cursor:pointer" alt="'+ get_lang('Message with read notification') + '" title="'+ get_lang('Message with read notification') + '" src="templates/'+template+'/images/notification.gif">'; 
     1338                td.innerHTML += '&nbsp;<img id="disposition_notification_'+ID+'" style="cursor:pointer" alt="'+ get_lang('Message with read notification') + '" title="'+ get_lang('Message with read notification') + '" src="templates/'+template+'/images/notification.gif">'; 
    13391339        } 
    13401340 
     
    16261626                tr0.appendChild(td0); 
    16271627                tbody_message.appendChild(tr0); 
     1628                 
     1629                var important_message = document.createElement("INPUT"); 
     1630                important_message.id = "is_important_"+ID; 
     1631                important_message.name = "is_important"; 
     1632                important_message.type = "HIDDEN"; 
     1633                important_message.value = (info_msg.Importance == "" || info_msg.Importance == "Normal") ? "0": "1"; 
     1634                 
     1635                options.appendChild(important_message); 
    16281636        } 
    16291637        ////////////////////////////////////////////////////////////////////////////////////////////////////// 
     
    16881696        tr1.appendChild(from_values); 
    16891697        tr1.appendChild(local_message); 
    1690  
    1691  
    16921698 
    16931699        if (info_msg.reply_to){ 
  • branches/2.2/expressoMail1_2/js/main.js

    r3781 r3798  
    13161316                        } 
    13171317                        Element("subject_" + new_border_ID).value = data.subject; 
     1318                         
     1319                        if( Element("disposition_notification_" + border_ID) ) 
     1320                                Element("return_receipt_" + new_border_ID).checked = true; 
     1321 
     1322                        var element_important_message = Element("important_message_" + new_border_ID); 
     1323                        if(element_important_message) { 
     1324                                if(Element("is_important_" + border_ID).value == "1") element_important_message.checked = true; 
     1325                        } 
    13181326 
    13191327                        var divFiles = Element("divFiles_"+new_border_ID); 
Note: See TracChangeset for help on using the changeset viewer.