Ticket #8530: 8530.patch

File 8530.patch, 1.1 KB (added by Garry Yao, 12 years ago)
  • _source/adapters/jquery.js

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    130130                                {
    131131                                        // CREATE NEW INSTANCE
    132132
    133                                         // Handle config.autoUpdateElement inside this plugin if desired.
    134                                         if ( config.autoUpdateElement
    135                                                 || ( typeof config.autoUpdateElement == 'undefined' && CKEDITOR.config.autoUpdateElement ) )
    136                                         {
    137                                                 config.autoUpdateElementJquery = true;
    138                                         }
    139 
    140                                         // Always disable config.autoUpdateElement.
    141                                         config.autoUpdateElement = false;
    142133                                        $element.data( '_ckeditorInstanceLock', true );
    143134
    144135                                        // Set instance reference in element's data.
     
    179170                                                        });
    180171
    181172                                                        // Integrate with form submit.
    182                                                         if ( editor.config.autoUpdateElementJquery && $element.is( 'textarea' ) && $element.parents( 'form' ).length )
     173                                                        if ( editor.config.autoUpdateElement && $element.is( 'textarea' ) && $element.parents( 'form' ).length )
    183174                                                        {
    184175                                                                var onSubmit = function()
    185176                                                                {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy