Changeset 4285 for branches/2.2


Ignore:
Timestamp:
05/09/11 15:22:33 (13 years ago)
Author:
diogenesduarte
Message:

Ticket #1853 - Corrigindo bloqueio ao redigir e-mails depois de mudar de aba

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/js/rich_text_editor.js

    r4233 r4285  
    5353                config_events( iframe, 'onload', function( ) 
    5454                { 
    55                         if ( iframe.contentWindow.document.body && iframe.contentWindow.document.body.contentEditable ) 
    56                                 iframe.contentWindow.document.body.contentEditable = true; 
    57  
     55                        if ( iframe.contentWindow.document.body && iframe.contentWindow.document.body.contentEditable ) { 
     56                                 
     57                                if(mobile_device) 
     58                                        iframe.contentWindow.document.body.contentEditable = true; 
     59                                else 
     60                                        iframe.contentWindow.document.designMode = "on"; 
     61                        } 
     62                         
    5863                        if ( iframe.contentWindow.document.documentElement ){ 
    5964                                iframe.contentWindow.document.documentElement.style.background = '#fff'; 
Note: See TracChangeset for help on using the changeset viewer.