Hello Im having a problem to make multiple editors read-only at the same time.
function FCKeditor_OnComplete( editorInstance ) {
chango();
}
function chango(){
var oEditor = FCKeditorAPI.GetInstance('strTxtAcuerdosYResoluciones') ;
oEditor.EditorDocument.body.contentEditable=false;
var oEditor2 = FCKeditorAPI.GetInstance('strTxtAccionesARealizarYAsuntosPendientes') ;
oEditor2.EditorDocument.body.contentEditable=false;
var oEditor3 = FCKeditorAPI.GetInstance('strTxtComentariosRelevantes') ;
oEditor3.EditorDocument.body.contentEditable=false;
}
This works, but I get a 84 unspecified error on the javascript alerts. I want to get rid of this.
Any ideas?
thanks
Jorge
function FCKeditor_OnComplete( editorInstance ) {
chango();
}
function chango(){
var oEditor = FCKeditorAPI.GetInstance('strTxtAcuerdosYResoluciones') ;
oEditor.EditorDocument.body.contentEditable=false;
var oEditor2 = FCKeditorAPI.GetInstance('strTxtAccionesARealizarYAsuntosPendientes') ;
oEditor2.EditorDocument.body.contentEditable=false;
var oEditor3 = FCKeditorAPI.GetInstance('strTxtComentariosRelevantes') ;
oEditor3.EditorDocument.body.contentEditable=false;
}
This works, but I get a 84 unspecified error on the javascript alerts. I want to get rid of this.
Any ideas?
thanks
Jorge
RE: Multiple Editor Instance Name Retrieval
Like this
function FCKeditor_OnComplete( editorInstance ) {
FCKeditor_OnComplete_count++;
if (FCKeditor_OnComplete_count==3) {
chango();
}
I got this idea as I saw another script from flyspecksupport, involving multiple editors with the same toolbar... hope this helps someone!
Cheers,
Jorge