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

[livejournal] r19701: LJSUP-9159: Update and improve RTE by CK...

Committer: vkurkin
LJSUP-9159: Update and improve RTE by CKEditor 3.6.1
U   trunk/htdocs/js/rte.js
Modified: trunk/htdocs/js/rte.js
===================================================================
--- trunk/htdocs/js/rte.js	2011-08-11 08:01:23 UTC (rev 19700)
+++ trunk/htdocs/js/rte.js	2011-08-11 09:29:04 UTC (rev 19701)
@@ -7,8 +7,8 @@
 	window.initDraft = function(data) {
 		draftData = data;
 
-		data.lastValue = '';
 		data.textArea = $('#draft');
+		data.lastValue = draftData.textArea.val();
 		data.statusNode = $('#draftstatus');
 
 		if (data.ask && data.restoreData) {

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