Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
589801acf08e
Commit
8523cebb
authored
Apr 07, 2011
by
Adrien Di Mascio
Browse files
[fckeditor] fix fckeditor relative url: use baseuri()
--HG-- branch : stable
parent
7eaef037ea9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/data/cubicweb.ajax.js
View file @
589801ac
...
...
@@ -501,7 +501,7 @@ function buildWysiwygEditors(parent) {
var
fck
=
new
FCKeditor
(
this
.
id
);
fck
.
Config
[
'
CustomConfigurationsPath
'
]
=
fckconfigpath
;
fck
.
Config
[
'
DefaultLanguage
'
]
=
fcklang
;
fck
.
BasePath
=
"
fckeditor/
"
;
fck
.
BasePath
=
baseuri
()
+
"
fckeditor/
"
;
fck
.
ReplaceTextarea
();
}
else
{
cw
.
log
(
'
fckeditor could not be found.
'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment