issue 570: Fixed a bug for document preview

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9939 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-12-12 08:28:18 +00:00
parent 1b6e663e57
commit c0f24cb905
3 changed files with 35 additions and 31 deletions

View file

@ -532,7 +532,9 @@ function doDocumentPreview(obj) {
).appendTo(document.body);
dummy_obj = jQuery("#previewDocument")[0];
}
} else {
dummy_obj = dummy_obj[0];
}
if(dummy_obj) {
dummy_obj.content.value = content;