Changeset 4770 for branches/2.2.0.1


Ignore:
Timestamp:
07/15/11 15:23:09 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #2084 - Filtros Encadeados .......................

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0.1/expressoMail1_2/js/filter.js

    r4743 r4770  
    217217                        var mark_values = this.values[fields[8]].split(","); 
    218218                        for(var i=0; i < mark_values.length; i++){ 
    219                                 if( mark_values[i] == "checkBox2"){ 
     219                                if( mark_values[i] == "checkBox1" || mark_values[i] == "checkBox2"){ 
    220220                                        document.getElementById(mark_values[i]).checked = true; 
    221221                                } 
     
    320320                                                "</tr><tr><td colspan='2'><hr size='1' width='100%'><b>"+get_lang("Action")+":</b></td></tr>"+ 
    321321                                                "</table><table id='table_rule1' border='0' cellpading='0' cellspacing='0' width='100%'>"+ 
    322                                                  "<tr><td colspan='2'><input type='checkBox' id='checkBox2' onclick='filter.disable_radio();' name='checkb'>"+get_lang('Keep a copy of the message at your Inbox')+ "</td><tr>"+ 
    323                                                  "<tr><td width='50%'><input type='radio' id='radio1' name='radio' value='folder'>"+get_lang('Store at')+".:</td>"+ 
     322                                                "<tr><td colspan='2'><input type='checkBox' id='checkBox1' name='checkb'>"+get_lang('Also check message against next rule') + "</td></tr>"+ 
     323                                                "<tr><td colspan='2'><input type='checkBox' id='checkBox2' onclick='filter.disable_radio();' name='checkb'>"+get_lang('Keep a copy of the message at your Inbox')+ "</td><tr>"+ 
     324                                                "<tr><td width='50%'><input type='radio' id='radio1' name='radio' value='folder'>"+get_lang('Store at')+".:</td>"+ 
    324325                                                "<td width='50%'><select id='select_mailboxes' name='select_mailboxes'></select></td>"+ 
    325326                                                "</tr><tr><td width='50%'><input type='radio' id='radio2' name='radio' value='address'>"+get_lang('Forward to the address')+".:</td>"+ 
     
    645646                        } 
    646647                        var opts = ""; 
     648                        if(Element("checkBox1").checked == true){ 
     649                            opts += ",checkBox1"; 
     650                        } 
    647651                        if(Element("checkBox2").checked == true){ 
    648652                            opts += ",checkBox2"; 
Note: See TracChangeset for help on using the changeset viewer.