Dialog fuer Fenster "neue Ressource" oeffnen

This commit is contained in:
Karl Burkhart
2011-09-06 15:00:04 +00:00
parent 66d8244b7d
commit 065a2a43d3
+10
View File
@@ -193,6 +193,16 @@ function ProjektNeu()
//alert (oe);
}
// Dialog fuer neue Ressource starten
function RessourceNeu()
{
// netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); // Trick 17
var tree=document.getElementById('tree-ressourcemenue');
// var oe=getTreeCellText(tree, "treecol-ressourcemenue-oe", tree.currentIndex);
window.open('<?php echo APP_ROOT; ?>content/projekt/ressource.window.xul.php', 'height=384,width=512,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no');
//alert (oe);
}
// *****
// * Refresht den Projektmenue Tree
// *****