Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r20108: LJSV-1779: Editing an entry with an lj-c...

Committer: vkurkin
LJSV-1779: Editing an entry with an lj-cut does not work correctly in RTE
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 04:11:46 UTC (rev 20107)
+++ trunk/htdocs/js/ck/plugins/livejournal/plugin.js	2011-09-22 06:58:03 UTC (rev 20108)
@@ -779,7 +779,6 @@
 							for (var i = 0, l = ranges.length; i < l; i++) {
 								var range = ranges[i];
 								range.cloneContents().appendTo(ljNoteData.LJCut.node);
-								range.deleteContents();
 							}
 							selection.unlock();
 							editor.insertElement(ljNoteData.LJCut.node);

Tags: b_vladi, js, livejournal
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