Author: sergeyhalipov
Date: 2008-01-09 14:48:59 -0500 (Wed, 09 Jan 2008)
New Revision: 5244
Modified:
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js
Log:
http://jira.jboss.com/jira/browse/RF-1859
Modified:
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js
===================================================================
---
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js 2008-01-09
19:47:29 UTC (rev 5243)
+++
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js 2008-01-09
19:48:59 UTC (rev 5244)
@@ -512,19 +512,19 @@
},
changeIndicatorColor: function(indicator, color) {
- Element.setStyle(indicator, {"border-top" : "1px dashed
"+color});
+ indicator.style.borderTop = "1px dashed "+ color;
var elt = $("_rfDefaultDragIndicatorLeft");
if (elt) {
- Element.setStyle(elt, {"border-left" : "1px dashed "+color});
+ elt.style.borderLeft = "1px dashed "+ color;
}
elt = $("_rfDefaultDragIndicatorRight");
if (elt) {
- Element.setStyle(elt, {"border-right" : "1px dashed "+color});
+ elt.style.borderRight = "1px dashed "+ color;
}
elt = $("_rfDefaultDragIndicatorBottom");
if (elt) {
- Element.setStyle(elt, {"border-bottom" : "1px dashed "+color});
+ elt.style.borderBottom = "1px dashed "+ color;
}
}
};