Author: andrei_exadel
Date: 2008-03-25 09:29:47 -0400 (Tue, 25 Mar 2008)
New Revision: 7163
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
RF-2738
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-03-25
12:35:03 UTC (rev 7162)
+++
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-03-25
13:29:47 UTC (rev 7163)
@@ -432,7 +432,9 @@
if (p.getWidth() != 0) {
o.style.width = p.getWidth() + "px";
o.style.height = p.getHeight() + "px";
- p.onmouseover = p._onmouseover;
+ if (p._onmouseover) {
+ p.onmouseover = p._onmouseover;
+ }
}else {
p._onmouseover = p.onmouseover;
p.onmouseover = function () {this.initFileInput(); p._onmouseover(); }.bind(this);
Show replies by date