2,23 → 2,23 |
|
function afficherSelection(aTreeChildrenId,aAttributeName,aTabBrowserId) |
{ |
var uneUrl = donnerAttributSelectionArbre(aTreeChildrenId,aAttributeName); |
window.parent.frames[1].location.href=uneUrl; |
var uneUrl = donnerAttributSelectionArbre(aTreeChildrenId,aAttributeName); |
window.parent.frames[1].location.href=uneUrl; |
} |
|
|
function donnerAttributSelectionArbre(aTreeChildrenId,aAttributeName) |
{ |
var unArbre=document.getElementById(aTreeChildrenId); |
var uneSelection = unArbre.contentView.getItemAtIndex(unArbre.currentIndex); |
|
var uneUrl; |
if (uneSelection.firstChild.firstChild.hasAttribute(aAttributeName)) |
{ |
uneUrl = uneSelection.firstChild.firstChild.getAttribute(aAttributeName); |
} |
|
return uneUrl; |
var unArbre=document.getElementById(aTreeChildrenId); |
var uneSelection = unArbre.contentView.getItemAtIndex(unArbre.currentIndex); |
|
var uneUrl; |
if (uneSelection.firstChild.firstChild.hasAttribute(aAttributeName)) |
{ |
uneUrl = uneSelection.firstChild.firstChild.getAttribute(aAttributeName); |
} |
|
return uneUrl; |
} |
|
function compileSelection(listid) |