Changeset 4390


Ignore:
Timestamp:
05/12/11 16:42:27 (13 years ago)
Author:
niltonneto
Message:

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

File:
1 edited

Legend:

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

    r4384 r4390  
    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.