issue 605: In firefox, a layer is removed when you set background-image

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9946 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-12-13 07:03:07 +00:00
parent f9d66804ba
commit 83863c11f7

View file

@ -13,6 +13,7 @@ function getStyle(obj) {
style = obj.style;
}
if(typeof(style)=="object") style = style["cssText"];
style = style.replace(/\burl\s*\(\s*"(.*?)"\s*\)/i, "url('$1')");
return style;
}