This commit is contained in:
jruderman@hmc.edu 2008-01-02 21:56:25 -08:00
Родитель 4a4642a5f9
Коммит 5f54b82ae9
2 изменённых файлов: 26 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,25 @@
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
<script type="text/javascript">
function boom()
{
var tree = document.getElementById("tree");
var tc = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "treechildren");
document.addEventListener("DOMAttrModified", m, false);
tree.appendChild(tc);
function m()
{
document.removeEventListener("DOMAttrModified", m, false);
tree.removeChild(tc);
}
}
</script>
<tree id="tree" />
</window>

Просмотреть файл

@ -6,3 +6,4 @@ load 380217-1.xul
load 393665-1.xul
load 399692-1.xhtml
load 399715-1.xhtml
load 409807-1.xul