Changes between Initial Version and Version 1 of Ticket #8668, comment 8


Ignore:
Timestamp:
Feb 4, 2012, 10:46:03 AM (12 years ago)
Author:
NicHolt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8668, comment 8

    initial v1  
    66var standard = function( name, value )
    77{
     8        this.$.setAttribute( name, value );
    89        if ((name == 'name') && (this.$.tagName == 'META') && CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ))
    910        {
    1011                try {this.$.setAttribute('Name', value)} // IE bug workaround for setAttribute for META elements
    11                 catch (e)
    12                 {
    13                         this.$.setAttribute( name, value );
    14                 } 
     12                catch (e) {}
    1513        }
    16         else
    17         {
    18                 this.$.setAttribute( name, value );
    19         };
    2014        return this;
    2115};
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy