[richfaces-svn-commits] JBoss Rich Faces SVN: r11842 - trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Wed Dec 17 06:19:45 EST 2008
Author: pyaschenko
Date: 2008-12-17 06:19:44 -0500 (Wed, 17 Dec 2008)
New Revision: 11842
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
https://jira.jboss.org/jira/browse/RF-5407
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-12-17 10:36:27 UTC (rev 11841)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-12-17 11:19:44 UTC (rev 11842)
@@ -455,7 +455,7 @@
this.actionUrl = actionUrl;
this.options = options || {};
- this.initFlashModule(options.allowFlash);
+ this.initFlashModule();
this.initEvents();
this.setupAutoUpload();
this.checkFrame();
@@ -1128,7 +1128,7 @@
this.currentInput.style.display = "none";
this.currentInput.onmousedown=(function (){this.createFrame();}).bind(this);
- } if (allowFlash=="true")
+ } else if (allowFlash=="true")
{
this.items.appendChild(div);
this.disable();
More information about the richfaces-svn-commits
mailing list