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