spacevillain (spacevillain) wrote in changelog,
spacevillain
spacevillain
changelog

[livejournal] r22424: LJSUP-12745: Replace windows (pop-up) in...

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');

Tags: atyurin, js, livejournal, spacevillain
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments