Changeset 2726


Ignore:
Timestamp:
05/06/10 17:10:48 (14 years ago)
Author:
amuller
Message:

Ticket #1059 - Correção de problema ao responder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/jscode/draw_api_messages.js

    r2723 r2726  
    331331                appendChilds(options,option_hide_more,createAndSet('SPAN',false,false,' | '),option_forward); 
    332332 
    333                 var option_reply_options = createAndSet("IMG",['id', 'src', 'value'],['msg_opt_reply_options_'+this.id,URL_SERVER+'expressoMail1_2/templates/default/images/down.png','show']); 
     333                var option_reply_options = createAndSet("IMG",['id', 'src', 'value'],['msg_opt_reply_options_'+id,URL_SERVER+'expressoMail1_2/templates/default/images/down.png','show']); 
    334334                option_reply_options.onmouseover = function(){ 
    335335                                option_reply_options.src= URL_SERVER+'expressoMail1_2/templates/default/images/over.png'; 
     
    359359                }; 
    360360 
    361                 var _option_reply = createAndSet("SPAN",['id','class'],['msg_opt_reply_'+this.id,'message_options'],get_lang('Reply')); 
    362                 _option_reply.onclick = function(){new_message('reply_with_history', this.id);}; 
     361                var _option_reply = createAndSet("SPAN",['id','class'],['msg_opt_reply_'+id,'message_options'],get_lang('Reply')); 
     362                _option_reply.onclick = function(){new_message('reply_with_history', id);}; 
    363363 
    364364                appendChilds(options,createAndSet('SPAN',false,false,' | '),option_reply_options,_option_reply); 
     
    377377                var option_mark_as_normal                               = '<span class="message_options" onclick="proxy_mensagens.proxy_set_messages_flag(\'unflagged\','+info_msg.msg_number+');write_msg(\''+get_lang('Message marked as ')+get_lang("Normal")+'.\');">'+get_lang("Normal")+'</span> | '; 
    378378 
    379                 var option_reply_without_history                = '<span onmouseover="this.className=\'reply_options_active\'" onmouseout="this.className=\'reply_options\'" class="reply_options" onclick=new_message("reply_without_history","'+this.id+'");>'+get_lang("Reply without history")+'</span>'; 
    380                 var option_reply_to_all                                 = '<span onmouseover="this.className=\'reply_options_active\'" onmouseout="this.className=\'reply_options\'" class="reply_options" onclick=new_message("reply_to_all_with_history","'+this.id+'");>'+get_lang("Reply to all")+'</span> | '; 
    381  
    382                 var option_reply_to_all_without_history = '<span onmouseover="this.className=\'reply_options_active\'" onmouseout="this.className=\'reply_options\'" class="reply_options" onclick=new_message("reply_to_all_without_history","'+this.id+'");>'+get_lang("Reply to all without history")+'</span> | </div>'; 
     379                var option_reply_without_history                = '<span onmouseover="this.className=\'reply_options_active\'" onmouseout="this.className=\'reply_options\'" class="reply_options" onclick=new_message("reply_without_history","'+id+'");>'+get_lang("Reply without history")+'</span>'; 
     380                var option_reply_to_all                                 = '<span onmouseover="this.className=\'reply_options_active\'" onmouseout="this.className=\'reply_options\'" class="reply_options" onclick=new_message("reply_to_all_with_history","'+id+'");>'+get_lang("Reply to all")+'</span> | '; 
     381 
     382                var option_reply_to_all_without_history = '<span onmouseover="this.className=\'reply_options_active\'" onmouseout="this.className=\'reply_options\'" class="reply_options" onclick=new_message("reply_to_all_without_history","'+id+'");>'+get_lang("Reply to all without history")+'</span> | </div>'; 
    383383 
    384384                div_other_options.innerHTML = option_reply_to_all + option_reply_to_all_without_history + option_reply_without_history; 
     
    493493                tbody_message_others_options.appendChild(tr1); 
    494494        } 
    495         var from_values = createAndSet('INPUT',['id','type','value'],["from_values_"+this.id,"HIDDEN",info_msg.from.full]); 
     495        var from_values = createAndSet('INPUT',['id','type','value'],["from_values_"+id,"HIDDEN",info_msg.from.full]); 
    496496        var local_message = createAndSet("INPUT",['id','name','type','value'],["is_local_"+this.id,"is_local","HIDDEN",(info_msg.local_message)?"1":"0"]); 
    497497        appendChilds(tr1,td1,from,from_values,local_message); 
Note: See TracChangeset for help on using the changeset viewer.