#18524896 : fixed a bug that widget cannot be copied in page modification with IE8

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7179 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-01-19 14:59:07 +00:00
parent dadc4c546b
commit 6ae8ae2247

View file

@ -8,6 +8,10 @@
// style의 값을 구하는게 IE랑 그외가 다름.
function getStyle(obj) {
var style = obj.getAttribute("style");
if(!style)
{
style = obj.style;
}
if(typeof(style)=="object") style = style["cssText"];
return style;
}
@ -526,7 +530,7 @@ function doCheckWidget(e) {
dummy.setAttribute(name, value);
}
if(xIE4Up) dummy.style["cssText"] = p_obj.getAttribute("style")["cssText"];
if(xIE4Up) dummy.style["cssText"] = p_obj.style["cssText"];
p_obj.parentNode.insertBefore(dummy, p_obj);
}
return;
@ -1344,4 +1348,4 @@ function widgetManualEnd() {
widgetDragManager.obj = null;
widgetDragManager.isDrag = false;
}
}