Author: pyaschenko
Date: 2008-08-21 12:58:22 -0400 (Thu, 21 Aug 2008)
New Revision: 10166
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
https://jira.jboss.org/jira/browse/RF-4263
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
---
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-08-21
16:31:37 UTC (rev 10165)
+++
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-08-21
16:58:22 UTC (rev 10166)
@@ -540,9 +540,7 @@
},
resetFrame: function () {
- if (this.iframe) {
- this.iframe.src = "javascript:''";
- }
+ if (this.iframe && this.iframe.contentWindow.document &&
this.iframe.contentWindow.document.body) this.iframe.contentWindow.document.body.innerHTML
= "";
},
initEvents : function() {