equal
deleted
inserted
replaced
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 } |