TeamSite 6.7.1, Windows
I'm using dialog element in my DCT to show a button next to different items. This is contained insided a replicant as shown in below code:
[HTML]
Optional Sub Title (max 100 chars)
Enter your content here.
Select Image for this paragraph. Image will be reduced/enlarged to size: 100 x 85 px.
[/HTML]
And the JS function being called on click onf button:
function openPreview(imgPath) {
var hostname = window.location.hostname;
var vpath = "http://" + hostname + imgPath;
window.open(vpath,'_blank','scrollbars=yes,resizable=1,width=510,height=510');
}
It functions allright in the first instance of the replicant. But as I add more instances, the button doesn't function.
Any help? Is it a bug in TeamSite??