Changeset 7703 for trunk


Ignore:
Timestamp:
01/03/13 16:58:22 (11 years ago)
Author:
cristiano
Message:

Ticket #3262 - Inconsistencia na acao de responder automaticamente com uma mensagem nos filtros de mensagens

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/INSTALL/arquivos/expresso.dump

    r7630 r7703  
    1741217412pt-br   expressoMail1_2 archive in folder       Arquivar na pasta 
    1741317413pt-br   expressoMail1_2 move to trash   Mover para a Lixeira 
    17414 pt-br   expressoMail1_2 reply with a message automatically      Responder com uma mensagem automaticamente 
     17414pt-br   expressoMail1_2 reject and automatically respond with the message       Rejeitar e responder automaticamente, com a mensagem 
    1741517415pt-br   expressoMail1_2 type a reply message    Digite uma mensagem de resposta 
    1741617416pt-br   expressoMail1_2 all messages will be answered automatically with the message indicated. Todas as mensagens serão respondidas automaticamente com a mensagem indicada. 
  • trunk/expressoMail1_2/setup/phpgw_pt-br.lang

    r7666 r7703  
    890890Archive in folder       expressoMail1_2 pt-br   Arquivar na pasta 
    891891Move to Trash   expressoMail1_2 pt-br   Mover para a Lixeira 
    892 Reply with a message automatically      expressoMail1_2 pt-br   Responder com uma mensagem automaticamente 
     892Reject and automatically respond with the message       expressoMail1_2 pt-br   Rejeitar e responder automaticamente, com a mensagem 
    893893Type a reply message    expressoMail1_2 pt-br   Digite uma mensagem de resposta 
    894894All messages will be answered automatically with the message indicated. expressoMail1_2 pt-br   Todas as mensagens serão respondidas automaticamente com a mensagem indicada. 
  • trunk/prototype/modules/filters/edit-filter.ejs

    r7081 r7703  
    109109                        </ul> 
    110110                        <fieldset class="select-folderlist"> 
    111                                 <input type="radio" name="actionType[]" value="fileinto" checked="checked" onchange="$('.ui-widget-content :checkbox').parent().removeClass(' hidden');"/> 
     111                                <input type="radio" name="actionType[]" value="fileinto" checked="checked" onchange="$('.ui-widget-content .fileintoInbox').parent().removeClass(' hidden');"/> 
    112112                                <label><%= get_lang("Archive in folder")%></label> 
    113113                                <!--  
     
    132132                        </fieldset> 
    133133                        <fieldset> 
    134                                 <input type="radio" name="actionType[]" value="redirect" onchange="$('.ui-widget-content :checkbox').parent().removeClass(' hidden');"/> 
     134                                <input type="radio" name="actionType[]" value="redirect" onchange="$('.ui-widget-content .fileintoInbox').parent().removeClass(' hidden');"/> 
    135135                                <label><%= get_lang("Forward to the address")%></label> 
    136136                                <input type="text" name="addressRedirect" /> 
    137137                        </fieldset> 
    138138                        <fieldset> 
    139                                 <input type="radio" name="actionType[]" value="setflag" onchange="$('.ui-widget-content :checkbox').parent().removeClass(' hidden');"/> 
     139                                <input type="radio" name="actionType[]" value="setflag" onchange="$('.ui-widget-content .fileintoInbox').parent().removeClass(' hidden');"/> 
    140140                                <label><%= get_lang("Mark as")%></label> 
    141141                                <!-- 
     
    148148                        </fieldset> 
    149149                        <fieldset> 
    150                                 <input type="radio" name="actionType[]" value="fileintoTrash" onchange="$('.ui-widget-content :checkbox').parent().removeClass(' hidden');"/> 
     150                                <input type="radio" name="actionType[]" value="fileintoTrash" onchange="$('.ui-widget-content .fileintoInbox').parent().removeClass(' hidden');"/> 
    151151                                <label><%= get_lang("Trash")%></label> 
    152152                                <input type="hidden" name="actionParameter[]" value="Trash"/> 
    153153                        </fieldset> 
    154154                        <fieldset class="fields-replyto"> 
    155                                 <input type="radio" name="actionType[]" value="reject" onchange="$('.ui-widget-content :checkbox').parent().addClass(' hidden');"/> 
    156                                 <label><%= get_lang("Reply with a message automatically")%></label> 
     155                                <input type="radio" name="actionType[]" value="reject" onchange="$('.ui-widget-content .fileintoInbox').attr('checked', false).parent().addClass(' hidden');"/> 
     156                                <label><%= get_lang("Reject and automatically respond with the message")%></label> 
    157157                                <textarea name="messageReject"></textarea> 
    158158                        </fieldset> 
  • trunk/prototype/modules/filters/filters.js

    r7635 r7703  
    244244                        actions.siblings('[name="addressRedirect"]').val(filter.actions[i].parameter); 
    245245                if(filter.actions[i].type == "reject") 
    246                         actions.siblings('[name="messageReject"]').val(filter.actions[i].parameter); 
     246        { 
     247            actions.siblings('[name="messageReject"]').val(filter.actions[i].parameter); 
     248            $('.ui-widget-content .fileintoInbox ').attr('checked', false).parent().addClass(' hidden'); 
     249        } 
    247250                if((filter.actions[i].type == "fileinto" && first_fileinto_action) || filter.actions[i].type == "setflag"){ 
    248251                        actions.parent().find('[value="'+filter.actions[i].parameter+'"]').attr("selected", "selected"); 
Note: See TracChangeset for help on using the changeset viewer.