Ticket #6099: 6099.patch

File 6099.patch, 621 bytes (added by Tobiasz Cudnik, 14 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    240240                        body = editor.document.getBody(),
    241241                        bodyChildsNum = body.getChildren().count();
    242242
    243                 if ( !bodyChildsNum || ( bodyChildsNum == 1&& body.getFirst().hasAttribute( '_moz_editor_bogus_node' ) ) )
     243                if ( !bodyChildsNum || ( bodyChildsNum == 1 && body.getFirst().hasAttribute && body.getFirst().hasAttribute( '_moz_editor_bogus_node' ) ) )
    244244                {
    245245                        restoreDirty( editor );
    246246
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy