mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#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:
parent
dadc4c546b
commit
6ae8ae2247
1 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue