Changeset 4309


Ignore:
Timestamp:
05/10/11 11:47:20 (13 years ago)
Author:
airton
Message:

Ticket #1820 - Corrigindo bloqueio ao redigir emails apos mudar de aba - r4296

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.2.0.2/expressoMail1_2/js/rich_text_editor.js

    r4302 r4309  
    5252                config_events( iframe, 'onload', function( ) 
    5353                { 
    54                         if ( iframe.contentWindow.document.body && iframe.contentWindow.document.body.contentEditable )  
    55                     iframe.contentWindow.document.body.contentEditable = true;  
     54                        if ( iframe.contentWindow.document.body && iframe.contentWindow.document.body.contentEditable ) { 
     55 
     56                                if(mobile_device) 
     57                                        iframe.contentWindow.document.body.contentEditable = true; 
     58                                else 
     59                                        iframe.contentWindow.document.designMode = "on"; 
     60                        }  
    5661                         
    5762                        if ( iframe.contentWindow.document.documentElement ){ 
Note: See TracChangeset for help on using the changeset viewer.