Changeset 8166 for branches


Ignore:
Timestamp:
05/31/13 18:49:15 (6 years ago)
Author:
douglas
Message:

Ticket #3455 - Redefinicao de preferencias ao salvar assinatura

Location:
branches/2.5/expressoMail1_2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/expressoMail1_2/inc/hook_settings.inc.php

    r8161 r8166  
    150150                                                                    signatures[default_signature].replace( /\\n/g, "<br>" ); 
    151151    } 
    152  
     152    if (document.getElementById( "signature" ).value != "")  
     153        document.getElementById( "signature" ).value = encode64(document.getElementById( "signature" ).value);  
    153154    document.getElementById( "signatures" ).value = toJSON( signatures ); 
    154155    document.getElementById( "signature_types" ).value = toJSON( types ); 
  • branches/2.5/expressoMail1_2/js/rich_text_editor.js

    r8161 r8166  
    180180          return ''; 
    181181        }  
    182          
     182        if (RichTextEditor.isEncoded64(preferences.signature_default))  
     183                preferences.signature_default = RichTextEditor.decode64(preferences.signature_default);  
    183184        return unescape(preferences.signature_default); 
    184185 
Note: See TracChangeset for help on using the changeset viewer.