Author: tan_pham_dinh
Date: 2010-01-12 23:19:28 -0500 (Tue, 12 Jan 2010)
New Revision: 1247
Modified:
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalDragDrop.js
Log:
GTNPORTAL-420: Problems when dragdrop in IE
Modified:
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalDragDrop.js
===================================================================
---
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalDragDrop.js 2010-01-13
03:58:54 UTC (rev 1246)
+++
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalDragDrop.js 2010-01-13
04:19:28 UTC (rev 1247)
@@ -199,7 +199,7 @@
if(!dndEvent.dragObject.isComponent) {
dndEvent.dragObject.parentNode.removeChild(dndEvent.dragObject) ;
}
- if(dndEvent.dragObject.parentNode.tagName.toLowerCase() == "td") {
+ if(dndEvent.dragObject.parentNode.nodeName.toLowerCase() == "td") {
dndEvent.dragObject.parentNode.style.width = "auto";
}
// fix bug WEBOS-196
@@ -375,7 +375,7 @@
insertBlock.style.width = "auto" ;
- if(eXo.portal.PortalDragDrop.parentDragObject.tagName.toLowerCase() == "td")
{
+ if(eXo.portal.PortalDragDrop.parentDragObject.nodeName.toLowerCase() == "td")
{
DOMUtil.removeElement(eXo.portal.PortalDragDrop.parentDragObject) ;
}
};
Show replies by date