Committer: atyurin
LJSUP-12745: Replace windows (pop-up) in RTE with the new windows (from HTML tab)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 2012-07-12 06:39:27 UTC (rev 22423) +++ trunk/htdocs/js/ck/plugins/livejournal/plugin.js 2012-07-12 06:52:20 UTC (rev 22424) @@ -1227,6 +1227,7 @@ if (likeNode) { likeNode.setAttribute('buttons', attr.join(',')); likeNode.setAttribute('lj-content', encodeURIComponent('<span class="lj-like-wrapper">' + likeHtml.join('') + '</span>')); + likeNode.removeAttribute('defaults'); } else { likeNode = new CKEDITOR.dom.element('iframe', editor.document); likeNode.setAttribute('lj-class', 'lj-like');