Development

Changeset 8823

You must first sign up to be able to contribute.

Changeset 8823

Show
Ignore:
Timestamp:
05/07/08 00:53:38 (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.0/lib/helper/sfRichTextEditorFCK.class.php

    r3284 r8823  
    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  }