Ticket #234: 234_2_FCKeditor.patch

File 234_2_FCKeditor.patch, 1.4 KB (added by Frederico Caldeira Knabben, 16 years ago)

Part 1 of 2 : Targeted to the FCKeditor trunk

  • _whatsnew.html

     
    4444                        (Kudos to asuter for proposing the patch) </li>
    4545                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2234">#2234</a>] Added the
    4646                        ability to create, modify and remove Div containers.</li>
     47                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/234">#234</a>] Introduced
     48                        the "PreventSubmitHandler" setting, which makes it possible to instruct the editor
     49                        to not handle the hidden field update on form submit events.</li>
    4750        </ul>
    4851        <p>
    4952                Fixed Bugs:</p>
  • editor/fckeditor.html

     
    360360                if ( FCKBrowserInfo.IsGecko )
    361361                        FCKTools.RunFunction( window.onresize ) ;
    362362
    363                 _AttachFormSubmitToAPI() ;
     363                if ( !FCKConfig.PreventSubmitHandler )
     364                        _AttachFormSubmitToAPI() ;
    364365
    365366                FCK.SetStatus( FCK_STATUS_COMPLETE ) ;
    366367
  • fckconfig.js

     
    319319FCKConfig.BackgroundBlockerOpacity = 0.50 ;
    320320
    321321FCKConfig.MsWebBrowserControlCompat = false ;
     322
     323FCKConfig.PreventSubmitHandler = false ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy