Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
94 jpm 1
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite");
2
 
3
function afficherSelection(aTreeChildrenId, aAttributeName, aTabBrowserId)
4
{
5
  var uneUrl = donnerAttributSelectionArbre(aTreeChildrenId, aAttributeName);
6
  window.parent.frames[1].location.href = uneUrl;
7
}
8
 
9
 
10
function donnerAttributSelectionArbre(aTreeChildrenId, aAttributeName)
11
{
12
  var unArbre = document.getElementById(aTreeChildrenId);
13
  var uneSelection = unArbre.contentView.getItemAtIndex(unArbre.currentIndex);
14
 
15
  var uneUrl;
16
  if (uneSelection.firstChild.firstChild.hasAttribute(aAttributeName))
17
  {
18
    uneUrl = uneSelection.firstChild.firstChild.getAttribute(aAttributeName);
19
  }
20
 
21
  return uneUrl;
22
}
23
 
24
function compileSelection(listid)
25
{
26
  window.parent.frames[1].location.href="eribo_traducteur.php?"+listid+"="+listid;
27
}