Author: nbelaevski
Date: 2008-03-23 20:44:39 -0400 (Sun, 23 Mar 2008)
New Revision: 7098
Modified:
trunk/samples/dragDropDemo/src/main/webapp/pages/index.jsp
Log:
DragDropDemo updated
Modified: trunk/samples/dragDropDemo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/dragDropDemo/src/main/webapp/pages/index.jsp 2008-03-24 00:34:51 UTC
(rev 7097)
+++ trunk/samples/dragDropDemo/src/main/webapp/pages/index.jsp 2008-03-24 00:44:39 UTC
(rev 7098)
@@ -104,7 +104,7 @@
Accepts file & folder... Customizes
</f:verbatim>
- <dnd:dropSupport id="zone1" ondrop="var zone =
$('form:grid1'); zone.style.borderColor= 'red'; setTimeout( function() {
this.style.borderColor= 'navy'; }.bind(zone), 300);"
acceptedTypes="file, folder" typeMapping="{file: testDrop}">
+ <dnd:dropSupport id="zone1" ondrop="var zone =
document.getElementById('form:grid1'); zone.style.borderColor= 'red';
setTimeout( function() { this.style.borderColor= 'navy'; }.bind(zone), 300);"
acceptedTypes="file, folder" typeMapping="{file: testDrop}">
<dnd:dndParam name="testDrop">
<h:graphicImage height="16" width="16"
value="/images/file-manager.png" />
</dnd:dndParam>
Show replies by date