Ignore:
Timestamp:
11/09/09 10:36:02 (14 years ago)
Author:
wmerlotto
Message:

Ticket #654 - Correção da assinatura em texto simples, por Lucas da Costa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/hook_settings.inc.php

    r1552 r1605  
    395395function setDefaultTypeSignature() { 
    396396        getTypeSignature().options[0].value = '".$GLOBALS['phpgw']->preferences->default['expressoMail']['type_signature']."d'; 
    397 } 
    398  
    399 setTimeout('setDefaultTypeSignature();config_form(document.getElementsByName(\'submit\')[0],changeType);changeType(getTypeSignature().value)',2000); 
     397        if(getTypeSignature().value.indexOf('html')!=-1){ 
     398           changeType(getTypeSignature().value); 
     399    } 
     400} 
     401 
     402setTimeout('setDefaultTypeSignature();config_form(document.getElementsByName(\'submit\')[0],changeType);',2000); 
    400403</script>"); 
    401404} 
Note: See TracChangeset for help on using the changeset viewer.