Ignore:
Timestamp:
12/07/12 14:40:38 (11 years ago)
Author:
thiago
Message:

Ticket #3223 - Corrigido o problema de colocar uma mensagem com conf leit como não lida.

File:
1 edited

Legend:

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

    r7613 r7623  
    150150// Change the class of message. 
    151151// In refresh, the flags UnRead and UnSeen don't exist anymore. 
    152 function set_msg_as_read(msg_number, selected){ 
     152function set_msg_as_read(msg_number, selected, fromMenu = false){ 
     153 
     154    if(fromMenu){ 
     155        expresso_mail_archive.getMessageMenu(msg_number);  
     156 
     157        var data = expresso_mail_archive.fromMenu; 
     158 
     159        if(data.DispositionNotificationTo && $("#"+get_selected_messages()).hasClass("tr_msg_unread")){ 
     160            $.Zebra_Dialog(get_lang(' of its messages could not be marked as read, because it contains a read confirmation.'), { 
     161                'type':     'warning', 
     162                'overlay_opacity': '0.5', 
     163                'custom_class': 'custom-zebra-filter', 
     164                'buttons':  ['Fechar'] 
     165            }); 
     166            return false; 
     167        } 
     168    } 
    153169        tr_message = Element(msg_number); 
    154170        if (exist_className(tr_message, 'tr_msg_unread')) 
Note: See TracChangeset for help on using the changeset viewer.