1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

r21185: Fix PNG images in TreeVirtual, for when using IE

(This used to be commit 1dde7f477b1e887fab7a24845673510eb2c1c084)
This commit is contained in:
Derrell Lipman 2007-02-06 20:57:22 +00:00 committed by Gerald (Jerry) Carter
parent 2342219d69
commit 3798666804

View File

@ -115,7 +115,9 @@ qx.Proto._getContentHtml = function(cellInfo)
this.STATIC_IMAGE_URI + "blank.gif" +
'" style="filter:' +
"progid:DXImageTransform.Microsoft.AlphaImageLoader(" +
" src='" + urlAndToolTip.url + "',sizingMethod='scale')";
" src='" +
Am.getInstance().resolvePath(urlAndToolTip.url) +
"',sizingMethod='scale')";
}
else
{
@ -177,7 +179,11 @@ qx.Proto._getContentHtml = function(cellInfo)
: "icon/16/places/folder.png");
}
}
html += addImage({ url:imageUrl });
html += addImage({
url : imageUrl,
imageWidth : 16,
imageHeight : 16
});
// Add the node's label. We calculate the "left" property with: each tree
// line (indentation) icon is 19 pixels wide; the folder icon is 16 pixels