Fix ) issue

This commit is contained in:
Garvin Hicking 2006-08-25 12:14:42 +00:00
parent 197197131a
commit dce6033d60
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ function serendipity_imageSelector_done(textarea)
block = insert; block = insert;
} }
if (typeof(parent.self.opener.htmlarea_editors) != 'undefined' && typeof(parent.self.opener.htmlarea_editors[textarea] != 'undefined')) { if (typeof(parent.self.opener.htmlarea_editors) != 'undefined' && typeof(parent.self.opener.htmlarea_editors[textarea]) != 'undefined') {
parent.self.opener.htmlarea_editors[textarea].surroundHTML(block, ''); parent.self.opener.htmlarea_editors[textarea].surroundHTML(block, '');
} else if (parent.self.opener.editorref) { } else if (parent.self.opener.editorref) {
parent.self.opener.editorref.surroundHTML(block, ''); parent.self.opener.editorref.surroundHTML(block, '');

View File

@ -288,7 +288,7 @@ function serendipity_imageSelector_done(textarea)
block = insert; block = insert;
} }
if (typeof(parent.self.opener.htmlarea_editors) != 'undefined' && typeof(parent.self.opener.htmlarea_editors[textarea] != 'undefined')) { if (typeof(parent.self.opener.htmlarea_editors) != 'undefined' && typeof(parent.self.opener.htmlarea_editors[textarea]) != 'undefined') {
parent.self.opener.htmlarea_editors[textarea].surroundHTML(block, ''); parent.self.opener.htmlarea_editors[textarea].surroundHTML(block, '');
} else if (parent.self.opener.editorref) { } else if (parent.self.opener.editorref) {
parent.self.opener.editorref.surroundHTML(block, ''); parent.self.opener.editorref.surroundHTML(block, '');