Ticket #3089: 3089_2.patch

File 3089_2.patch, 1.4 KB (added by Alfonso Martínez de Lizarrondo, 15 years ago)

Updated patch

  • _source/core/dom/element.js

     
    397397                                return this.$.getAttribute( name, 2 );
    398398                        };
    399399
    400                         if ( CKEDITOR.env.ie )
     400                        if ( CKEDITOR.env.ie && !CKEDITOR.env.ie8 )
    401401                        {
    402402                                return function( name )
    403403                                {
     
    759759                 * alert( <b>element.hasAttributes()</b> );  "false"
    760760                 */
    761761                hasAttributes :
    762                         CKEDITOR.env.ie ?
     762                        CKEDITOR.env.ie && !CKEDITOR.env.ie8 ?
    763763                                function()
    764764                                {
    765765                                        var attributes = this.$.attributes;
     
    894894                                return this;
    895895                        };
    896896
    897                         if ( CKEDITOR.env.ie )
     897                        if ( CKEDITOR.env.ie && !CKEDITOR.env.ie8 )
    898898                        {
    899899                                return function( name, value )
    900900                                {
     
    958958                                this.$.removeAttribute( name );
    959959                        };
    960960
    961                         if ( CKEDITOR.env.ie )
     961                        if ( CKEDITOR.env.ie && !CKEDITOR.env.ie8  )
    962962                        {
    963963                                return function( name )
    964964                                {
  • _source/core/env.js

     
    9999                         *     alert( "I'm on IE6 or quirks mode!" );
    100100                         */
    101101                        env.ie6Compat = ( version < 7 || env.quirks );
     102                       
     103                        /**
     104                         *  Indicate IE8.
     105                         */
     106                        env.ie8 = (version >= 8);
    102107                }
    103108
    104109                // Gecko.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy