Development

Changeset 8823

You must first sign up to be able to contribute.

Changeset 8823

Show
Ignore:
Timestamp:
05/07/08 00:53:38 (1 year 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  } 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.