fixed removeInstance bug: r is an instance of nicEditorInstance( or nicEditorIFrameInstance), it doesn't have the removeInstance and removePanel methods

old-orig
Danish Khan 2010-09-28 14:10:15 -07:00
parent efa6a1e886
commit eb2a83364d
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ var nicEditors = {
var editors = nicEditors.editors;
for(var i=0;i<editors.length;i++) {
if(editors[i].instanceById(e)) {
return editors[i].instanceById(e);
return editors[i]; // r is an instance of nicEditorInstance therefore it does not have removeInstance or removePanel methods
}
}
}