Changeset 7321


Ignore:
Timestamp:
09/27/12 14:50:56 (7 years ago)
Author:
angelo
Message:

Ticket #3132 - Problema ao marcar mensagem como Spam na busca

File:
1 edited

Legend:

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

    r7286 r7321  
    38513851        if(currentTab == 0) 
    38523852                msgs_number = get_selected_messages(); 
    3853  
     3853        if (typeof currentTab == "string" && currentTab.indexOf("search_") != "-1"){ 
     3854                msgs_number = ""; 
     3855                var checked = $("#divScrollMain_"+currentTab.substr(currentTab.indexOf('_')+1,255)).find("tr input:checked"); 
     3856                $.each(checked,function(index,value){ 
     3857                        if (value){ 
     3858                                if (index == 0) 
     3859                                        msgs_number = $(value).parents("tr").attr("id"); 
     3860                                else 
     3861                                        msgs_number += "," + $(value).parents("tr").attr("id"); 
     3862                        } 
     3863                }); 
     3864        } 
    38543865        if (parseInt(msgs_number) > 0 || msgs_number.length > 0) 
    38553866                cExecute ("$this.imap_functions.spam&folder="+folder+"&spam=false"+"&msgs_number="+msgs_number+"&border_ID="+border_ID+"&sort_box_type="+sort_box_type+"&sort_box_reverse="+sort_box_reverse+"&reuse_border="+border_ID+"&new_folder="+new_folder+"&new_folder_name="+new_folder_name+"&get_previous_msg="+0+"&cyrus_delimiter="+cyrus_delimiter, handler_move_msgs); 
Note: See TracChangeset for help on using the changeset viewer.