web/data/cubicweb.ajax.js
branchstable
changeset 7199 589801acf08e
parent 7122 3b0f1c2af20f
child 7284 a474cb989546
child 7328 a95164cf1421
equal deleted inserted replaced
7193:7eaef037ea9d 7199:589801acf08e
   499             this.setAttribute('cubicweb:type', 'fckeditor');
   499             this.setAttribute('cubicweb:type', 'fckeditor');
   500             if (typeof FCKeditor != "undefined") {
   500             if (typeof FCKeditor != "undefined") {
   501                 var fck = new FCKeditor(this.id);
   501                 var fck = new FCKeditor(this.id);
   502                 fck.Config['CustomConfigurationsPath'] = fckconfigpath;
   502                 fck.Config['CustomConfigurationsPath'] = fckconfigpath;
   503                 fck.Config['DefaultLanguage'] = fcklang;
   503                 fck.Config['DefaultLanguage'] = fcklang;
   504                 fck.BasePath = "fckeditor/";
   504                 fck.BasePath = baseuri() + "fckeditor/";
   505                 fck.ReplaceTextarea();
   505                 fck.ReplaceTextarea();
   506             } else {
   506             } else {
   507                 cw.log('fckeditor could not be found.');
   507                 cw.log('fckeditor could not be found.');
   508             }
   508             }
   509         }
   509         }