Ticket #9385: 9385.patch

File 9385.patch, 733 bytes (added by Garry Yao, 7 years ago)
  • _source/plugins/htmldataprocessor/plugin.js

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    296296        }
    297297        function unprotectReadyOnly( element )
    298298        {
    299                 var attrs = element.attributes;
     299                var attrs = element.attributes,
     300                        type = attrs.type;
     301
     302                // Remove empty value attribute output from IE. (#9385)
     303                if ( type == 'radio' && attrs.value === '' )
     304                        delete attrs.value;
     305
    300306                switch( attrs[ 'data-cke-editable' ] )
    301307                {
    302308                        case 'true':    attrs.contenteditable = 'true'; break;
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy