Ticket #2634: 2634.patch

File 2634.patch, 1.1 KB (added by James Cooke, 16 years ago)

Patch for bug.

  • editor/_source/internals/fckxhtml.js

     
    296296// Append an item to the SpecialBlocks array and returns the tag to be used.
    297297FCKXHtml._AppendSpecialItem = function( item )
    298298{
    299         return '___FCKsi___' + FCKXHtml.SpecialBlocks.AddItem( item ) ;
     299        return '___FCKsi___' + FCKXHtml.SpecialBlocks.push( item ) ;
    300300}
    301301
    302302FCKXHtml._AppendEntity = function( xmlNode, entity )
  • editor/_source/internals/fckcodeformatter.js

     
    4747
    4848FCKCodeFormatter._ProtectData = function( outer, opener, data, closer )
    4949{
    50         return opener + '___FCKpd___' + FCKCodeFormatter.ProtectedData.AddItem( data ) + closer ;
     50        return opener + '___FCKpd___' + FCKCodeFormatter.ProtectedData.push( data ) + closer ;
    5151}
    5252
    5353FCKCodeFormatter.Format = function( html )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy