Changeset 2281


Ignore:
Timestamp:
07/25/08 07:42:09 (7 years ago)
Author:
fredck
Message:

Fixed #234 (1/2) : Introduced the "PreventSubmitHandler" setting, which makes it possible to instruct the editor to not handle the hidden field update on form submit events.

Location:
FCKeditor/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_whatsnew.html

    r2280 r2281  
    5151                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2247">#2247</a>] The SHIFT+SPACE
    5252                        keystroke will now produce a &amp;nbsp; character.</li>
     53                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/234">#234</a>] Introduced
     54                        the "PreventSubmitHandler" setting, which makes it possible to instruct the editor
     55                        to not handle the hidden field update on form submit events.</li>
    5356        </ul>
    5457        <p>
  • FCKeditor/trunk/editor/fckeditor.html

    r2170 r2281  
    361361                        FCKTools.RunFunction( window.onresize ) ;
    362362
    363                 _AttachFormSubmitToAPI() ;
     363                if ( !FCKConfig.PreventSubmitHandler )
     364                        _AttachFormSubmitToAPI() ;
    364365
    365366                FCK.SetStatus( FCK_STATUS_COMPLETE ) ;
  • FCKeditor/trunk/fckconfig.js

    r2279 r2281  
    322322
    323323FCKConfig.MsWebBrowserControlCompat = false ;
     324
     325FCKConfig.PreventSubmitHandler = false ;
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy