Ignore:
Timestamp:
05/18/10 09:41:04 (14 years ago)
Author:
rodsouza
Message:

Ticket #1058 - Permitindo o envio de formulário por requisição background

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/templates/default/config.tpl

    r2703 r2802  
    11<!-- BEGIN header --> 
     2<script> 
     3function FCKeditor_OnComplete( editorInstance ) 
     4{ 
     5        editorInstance.LinkedField.form.onsubmit = function( ) 
     6        { 
     7                document.getElementById( 'newsettings[agree_term]' ).value = FCKeditorAPI.GetInstance( editorInstance.Name ).GetHTML( ); 
     8                return ExpressoLivre.form( editorInstance.LinkedField.form ); 
     9        }; 
     10} 
     11</script> 
    212<form method="POST" action="{action_url}"> 
    313<table align="center" width="85%" callspacing="0"> 
Note: See TracChangeset for help on using the changeset viewer.