Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

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

Committer: gariev
LJSUP-9159: Update and improve RTE by CKEditor 3.6.1
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2011-06-28 06:23:14 UTC (rev 19380)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2011-06-28 06:30:50 UTC (rev 19381)
@@ -148,7 +148,7 @@
     push @ret, qw(
         js/ippu.js
         js/lj_ippu.js
-        stc/ck/ckeditor.js
+        js/ck/ckeditor.js
         js/rte.js
         stc/display_none.css
     );
@@ -623,7 +623,7 @@
     my $switch_rte_link = BML::ml("entryform.htmlokay.rich4", {
         'opts' => 'href="javascript:void(0);" '.
             'onclick="return useRichText(\'draft\', \'' .
-            $LJ::WSTATPREFIX. '\');"'
+            $LJ::JSPREFIX. '\');"'
     });
 
     my $switch_rte_tab = '';
@@ -1477,7 +1477,7 @@
         };
 
         if ($opts->{'richtext_default'}) {
-            $$onload .= 'useRichText("draft", "' . LJ::ejs($LJ::WSTATPREFIX) . '");';
+            $$onload .= 'useRichText("draft", "' . LJ::ejs($LJ::JSPREFIX) . '");';
         }
     }
 

Tags: gariev, livejournal, pm
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