Ignore:
Timestamp:
03/07/12 14:47:10 (12 years ago)
Author:
thiago
Message:

Ticket #2486 - Correção na atualização das tuplas na tabela de flags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/mail/templates/followupflag_configure.ejs

    r5658 r5660  
    4040                } 
    4141        } 
     42        flagsId = ""; 
     43         
     44        for(x=0; x<data.messages.length; x++){ 
     45                if(data.messages[x].followupflagged){ 
     46                                var flagId = data.messages[x].followupflagged.id; 
     47                                (x+1 == data.messages.length) ? flagsId+= flagId : flagsId+= flagId+","; 
     48                } else { 
     49                        flagsId = false; 
     50                } 
     51        }  
    4252%> 
    4353<div class="followupflag-container"> 
     
    4555                <legend><%= get_lang("Basic")%></legend> 
    4656                <div class="followupflag-configure"> 
    47                         <input type="hidden" class="id-followup" value="<%=(followupflagged.id)?followupflagged.id:''%>" name="followupflagId"> 
     57                        <input type="hidden" class="id-followup" value="<%=(flagsId)?flagsId:''%>" name="followupflagId"> 
    4858                        <label class="label-name"><%= get_lang("Flag as")%>:</label>  
    4959                        <select name="name"> 
Note: See TracChangeset for help on using the changeset viewer.