summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWiktor Walc2008-12-01 18:17:35 (GMT)
committer Wiktor Walc2008-12-01 18:17:35 (GMT)
commitfad5bd6482a45269cdcd8a1aeb8e122265350db2 (patch)
tree9f6eb3774f33984c68a1a287420e9ed2fee02614
parent67eb65b8047b73ab5bfd7026448fbe6c78c5c4e5 (diff)
#321818 Fixed: FCKeditor not displaying on any posts except initial ones
-rw-r--r--CHANGELOG.txt3
-rw-r--r--fckeditor.popup.html2
-rw-r--r--fckeditor.utils.js4
3 files changed, 6 insertions, 3 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 1a3c76c..f4fd3e1 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,5 +1,8 @@
$Id$
+-- 2008-12-01 version 5.x-2.x-dev
+* #321818 Fixed: FCKeditor not displaying on any posts except initial ones
+
-- 2008-11-25 version 5.x-2.x-dev
* #336753 Fixed: All text disappears
diff --git a/fckeditor.popup.html b/fckeditor.popup.html
index 0e11dc4..4e49233 100644
--- a/fckeditor.popup.html
+++ b/fckeditor.popup.html
@@ -54,7 +54,7 @@ function FCKeditor_OnComplete( editorInstance )
oEditor = editorInstance;
var textarea = window.opener.document.getElementById( FCKURLParams[ 'el' ] );
if ($(textarea).attr('class').indexOf("filterxss2") != -1) {
- $.post(window.opener['Drupal'].settings.basePath + 'fckeditor/xss', {
+ $.post(window.opener['Drupal'].settings.basePath + 'index.php?q=fckeditor/xss', {
text: oFCKeditor.Value,
'filters[]': window.opener['Drupal'].settings.fckeditor_filters[FCKURLParams[ 'var' ]]
},
diff --git a/fckeditor.utils.js b/fckeditor.utils.js
index 11480ba..6a1597e 100644
--- a/fckeditor.utils.js
+++ b/fckeditor.utils.js
@@ -20,7 +20,7 @@ function Toggle( js_id, textareaID, textTextarea, TextRTE, xss_check )
$(".img_assist-button").hide();
if (xss_check && $('#' + textareaID).attr('class').indexOf("filterxss2") != -1) {
- $.post(Drupal.settings.basePath + 'fckeditor/xss', {
+ $.post(Drupal.settings.basePath + 'index.php?q=fckeditor/xss', {
text: $('#' + textareaID).val(),
'filters[]': Drupal.settings.fckeditor_filters[js_id]
},
@@ -137,7 +137,7 @@ function FCKeditorReplaceTextarea(textarea_id, oFCKeditor, xss_check)
{
$(".img_assist-button").hide();
if (xss_check && $('#' + oFCKeditor.Config['TextareaID']).attr('class').indexOf("filterxss") != -1) {
- $.post(Drupal.settings.basePath + 'fckeditor/xss', {
+ $.post(Drupal.settings.basePath + 'index.php?q=fckeditor/xss', {
text: $('#' + textarea_id).val(),
'filters[]': Drupal.settings.fckeditor_filters[textarea_id]
},