# HG changeset patch # User Adrien Di Mascio # Date 1302192607 -7200 # Node ID 589801acf08e7199fce37b4e69a14c88c5a39ac8 # Parent 7eaef037ea9db1376a39ba195d67f11b78e4d78f [fckeditor] fix fckeditor relative url: use baseuri() diff -r 7eaef037ea9d -r 589801acf08e web/data/cubicweb.ajax.js --- a/web/data/cubicweb.ajax.js Wed Apr 06 23:23:48 2011 +0200 +++ b/web/data/cubicweb.ajax.js Thu Apr 07 18:10:07 2011 +0200 @@ -501,7 +501,7 @@ 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.');