Development

Changeset 8824

You must first sign up to be able to contribute.

Changeset 8824

Show
Ignore:
Timestamp:
05/07/08 00:53:56 (2 months ago)
Author:
FabianLange
Message:

fixed FCK editor not being populated by fillin filter. fixes #732

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/helper/sfRichTextEditorFCK.class.php

    r7757 r8824  
    8787    $content = $fckeditor->CreateHtml(); 
    8888 
     89    //fix for http://trac.symfony-project.com/ticket/732 
     90    //fields need to be of type text to be picked up by fillin. they are hidden by inline css anyway: 
     91    //<input type="hidden" id="name" name="name" style="display:none" value="&lt;p&gt;default&lt;/p&gt;"> 
     92    $content = str_replace('type="hidden"','type="text"',$content); 
     93 
    8994    return $content; 
    9095  }