Committer: vkurkin
LJSUP-9872: Js error when click lj-cut in IE8 (with paragraph)U trunk/htdocs/js/ck/plugins/livejournal/plugin.js
Modified: trunk/htdocs/js/ck/plugins/livejournal/plugin.js =================================================================== --- trunk/htdocs/js/ck/plugins/livejournal/plugin.js 2011-09-22 08:44:38 UTC (rev 20111) +++ trunk/htdocs/js/ck/plugins/livejournal/plugin.js 2011-09-22 08:56:16 UTC (rev 20112) @@ -775,7 +775,7 @@ if (text) { var selection = new CKEDITOR.dom.selection(editor.document); - ljNoteData.LJCut.node = new CKEDITOR.dom.element('lj:cut', editor.document); + ljNoteData.LJCut.node = new CKEDITOR.dom.element.get(document.createElement('lj:cut')); ljNoteData.LJCut.node.setAttribute('lj-cmd', 'LJCut'); if (text != top.CKLang.ReadMore) { ljNoteData.LJCut.node.setAttribute('text', text);