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:
parent
2342219d69
commit
3798666804
@ -115,7 +115,9 @@ qx.Proto._getContentHtml = function(cellInfo)
|
|||||||
this.STATIC_IMAGE_URI + "blank.gif" +
|
this.STATIC_IMAGE_URI + "blank.gif" +
|
||||||
'" style="filter:' +
|
'" style="filter:' +
|
||||||
"progid:DXImageTransform.Microsoft.AlphaImageLoader(" +
|
"progid:DXImageTransform.Microsoft.AlphaImageLoader(" +
|
||||||
" src='" + urlAndToolTip.url + "',sizingMethod='scale')";
|
" src='" +
|
||||||
|
Am.getInstance().resolvePath(urlAndToolTip.url) +
|
||||||
|
"',sizingMethod='scale')";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -177,7 +179,11 @@ qx.Proto._getContentHtml = function(cellInfo)
|
|||||||
: "icon/16/places/folder.png");
|
: "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
|
// 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
|
// line (indentation) icon is 19 pixels wide; the folder icon is 16 pixels
|
||||||
|
Loading…
x
Reference in New Issue
Block a user