Author: ayanul
Date: 2007-10-24 13:21:37 -0400 (Wed, 24 Oct 2007)
New Revision: 3508
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/DradAndDrop/DragAndDrop.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-1148
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/DradAndDrop/DragAndDrop.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DradAndDrop/DragAndDrop.xhtml 2007-10-24
15:44:48 UTC (rev 3507)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DradAndDrop/DragAndDrop.xhtml 2007-10-24
17:21:37 UTC (rev 3508)
@@ -74,7 +74,7 @@
<h:panelGrid styleClass="dropzoneDecoration" id="grid1">
<f:verbatim>Accepts file and folder... Customizes</f:verbatim>
<rich:dropSupport id="zone1"
- ondrop="var zone = $('form:grid1'); zone.style.borderColor=
'red'; setTimeout( function() { this.style.borderColor= 'navy';
}.bind(zone), 300);"
+ ondrop="var zone = $('DtadAndDropSubviewID:form:grid1');
zone.style.borderColor= 'red'; setTimeout( function() { this.style.borderColor=
'navy'; }.bind(zone), 300);"
acceptedTypes="file, folder" typeMapping="{file: testDrop}">
<rich:dndParam name="testDrop">
<h:graphicImage height="16" width="16"