Changeset 7327 for branches


Ignore:
Timestamp:
09/28/12 17:48:53 (7 years ago)
Author:
eduardow
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/expressoMail1_2/js/main.js

    r7294 r7327  
    38573857        if(currentTab == 0) 
    38583858                msgs_number = get_selected_messages(); 
    3859  
     3859        if (typeof currentTab == "string" && currentTab.indexOf("search_") != "-1"){  
     3860            msgs_number = "";  
     3861            var checked = $("#divScrollMain_"+currentTab.substr(currentTab.indexOf('_')+1,255)).find("tr input:checked");  
     3862            $.each(checked,function(index,value){  
     3863                    if (value){  
     3864                            if (index == 0)  
     3865                                    msgs_number = $(value).parents("tr").attr("id");  
     3866                            else  
     3867                                    msgs_number += "," + $(value).parents("tr").attr("id");  
     3868                    }  
     3869            });  
     3870    } 
    38603871        if (parseInt(msgs_number) > 0 || msgs_number.length > 0) 
    38613872                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.