Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 52 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
52 fred 1
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite");
2
 
3
function afficherSelection(aTreeChildrenId,aAttributeName,aTabBrowserId)
4
{
57 jpm 5
  var uneUrl = donnerAttributSelectionArbre(aTreeChildrenId,aAttributeName);
6
  window.parent.frames[1].location.href=uneUrl;
52 fred 7
}
8
 
9
 
10
function donnerAttributSelectionArbre(aTreeChildrenId,aAttributeName)
11
{
57 jpm 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;
52 fred 22
}
23
 
24
function compileSelection(listid)
25
{
26
  window.parent.frames[1].location.href="eflore_traducteur.php?"+listid+"="+listid;
27
}