Changeset 7744 for trunk


Ignore:
Timestamp:
01/14/13 14:02:40 (11 years ago)
Author:
marcosw
Message:

Ticket #3289 - Correção para nome de botões em janelas de confirmação

Location:
trunk/expressoMail1_2/js
Files:
2 edited

Legend:

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

    r7742 r7744  
    47894789                    'type':     'warning', 
    47904790                    'overlay_opacity': '0.5', 
    4791                     'buttons':  ['OK','Cancelar'], 
     4791                    'buttons':  [get_lang('Yes'),get_lang('No')], 
    47924792                    'width' : 380, 
    47934793                                'custom_class': 'custom-zebra-filter', 
    47944794                    'onClose':  function(clicked) { 
    4795                         if(clicked == 'OK'){ 
     4795                        if(clicked == get_lang('Yes')){ 
    47964796                                RichTextEditor.setPlain(check_input(content.find('[name="textplain_rt_checkbox"]')), ID); 
    47974797                                $(".rich-button").find("span").text(get_lang("Rich Text")); 
  • trunk/expressoMail1_2/js/main.js

    r7742 r7744  
    33613361                                'type':     'question', 
    33623362                                'overlay_opacity': '0.5', 
    3363                                 'buttons':  ['OK', 'Cancelar'], 
     3363                                'buttons':  [get_lang('Yes'), get_lang('No')], 
    33643364                                'width' : 500, 
    33653365                                'custom_class': 'custom-zebra-filter', 
    33663366                                'onClose':  function(clicked) { 
    3367                                         if(clicked == 'OK' ){ 
     3367                                        if(clicked == get_lang('Yes')){ 
    33683368                                                send_valided_message(ID, folder, folder_name);                           
    33693369                                                return; 
     
    37733773                'overlay_opacity': '0.5', 
    37743774                                'custom_class': 'custom-zebra-filter', 
    3775                 'buttons':  ['Fechar'] 
     3775                'buttons':  [get_lang('Close')] 
    37763776            }); 
    37773777        } 
     
    47874787                                                                                        'overlay_opacity'       : '0.5', 
    47884788                                                                                        'custom_class': 'custom-zebra-filter', 
     4789                                                                                        'buttons'                       : [get_lang("Close")], 
    47894790                                                                                        'onClose'                       :  function(){ 
    47904791                                                                                                $("#importMessageAccordion").accordion('activate',0);    
     
    47994800                                                                                                'overlay_opacity'       : '0.5', 
    48004801                                                                                                'custom_class': 'custom-zebra-filter', 
     4802                                                                                                'buttons'                       : [get_lang("Close")], 
    48014803                                                                                                'onClose'                       :  function(){ 
    48024804                                                                                                        $("#importMessageAccordion").accordion('activate',1);    
     
    48644866                                'type'                          : 'warning', 
    48654867                                'overlay_opacity'       : '0.5', 
    4866                                 'custom_class': 'custom-zebra-filter' 
     4868                                'custom_class': 'custom-zebra-filter', 
     4869                                'buttons'                       : [get_lang("Close")], 
    48674870                        }); 
    48684871                } 
Note: See TracChangeset for help on using the changeset viewer.