Changeset 6014


Ignore:
Timestamp:
04/24/12 15:19:38 (12 years ago)
Author:
gustavo
Message:

Ticket #2611 - Refatorar interface de criação de nova mensagem

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/draw_api.js

    r5992 r6014  
    35703570                                .appendTo( ul ); 
    35713571                }; 
    3572                 input.parents("tr:first").find("button").click(function(){ 
     3572                input.parents("tr:first").find("button").button().click(function(){ 
    35733573                        emQuickSearch($(this).parents("tr:first").find("textarea").val(), "."+$(this).parents("tr:first").attr('class').split("-")[0], ID, undefined, true); 
    35743574                }); 
     
    35803580        content.find(".new-msg-head-right-buttons").find(".button").button().filter(".rich-button").click(function(){ 
    35813581                //RichTextEditor.loadEditor2(ID); 
    3582                 RichTextEditor.setPlain(!(check_input(content.find('[name="textplain_rt_checkbox"]'))), ID); 
     3582                RichTextEditor.setPlain(check_input(content.find('[name="textplain_rt_checkbox"]')), ID); 
    35833583                change_text($(this).find(".ui-button-text"), get_lang("Rich Text"), get_lang("Simple Text")); 
    35843584        }) 
     
    35933593                show_hide(content.find(".cc-tr"), $(this)); 
    35943594                change_text($(this).find(".ui-button-text"), get_lang("Add CC"), get_lang('Remove CC')); 
    3595         }); 
    3596          
    3597         //Botão Para, CC, CCO 
    3598         content.find(".adress_button").button().click(function(){ 
    3599                 //var search_for = $(this).parents("tr:first").find(".new-message-input").val(); 
    36003595        }); 
    36013596         
  • trunk/prototype/modules/mail/templates/new_message.ejs

    r5991 r6014  
    3838                }        
    3939                %> 
    40                 <button class="button small rich-button" name="textplain_rt_checkbox"><%= (preferences.plain_text_editor == 1 ? get_lang("Rich Text") : get_lang("Simple Text")) %></button> 
     40                <button class="button small rich-button"><%= (preferences.plain_text_editor == 1 ? get_lang("Rich Text") : get_lang("Simple Text")) %></button> 
    4141        </div> 
    4242</div> 
Note: See TracChangeset for help on using the changeset viewer.