diff options
author | lpsolit%gmail.com <> | 2005-10-28 19:15:01 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-28 19:15:01 +0200 |
commit | d02ababf933a55d951b0c04b65271ba4f2b7b772 (patch) | |
tree | bea31f52d8a954ac8087f2d5b04e6d71691023f2 /template/en/default | |
parent | 5a69c0bcd929b79ba6cc675058b50fc0d162141e (diff) | |
download | bugzilla-d02ababf933a55d951b0c04b65271ba4f2b7b772.tar.gz bugzilla-d02ababf933a55d951b0c04b65271ba4f2b7b772.tar.xz |
Bug 308666: Getting a popup error message when checking dependencies - Patch by byron jones (glob) <bugzilla@glob.com.au> r=wicked a=justdave
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/bug/dependency-tree.html.tmpl | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl index c31323846..b8e0c79e1 100644 --- a/template/en/default/bug/dependency-tree.html.tmpl +++ b/template/en/default/bug/dependency-tree.html.tmpl @@ -78,9 +78,6 @@ [% PROCESS depthControlToolbar %] -[% PROCESS global/footer.html.tmpl %] - - [%###########################################################################%] [%# Block to display a tree #%] [%###########################################################################%] @@ -111,14 +108,10 @@ </ul> [% END %] -[%###########################################################################%] -[%# Block for depth control toolbar #%] -[%###########################################################################%] - - <script type="text/javascript"> +<script type="text/javascript"> if (!Node) { /* MSIE doesn't define Node, so provide a compatibility array */ - var Node = { TEXT_NODE: 3, }; + var Node = { TEXT_NODE: 3 }; } function toggleDisplay(node) @@ -138,6 +131,8 @@ function toggleDisplay(node) function listToggle(event) { var node = event.target; + if (!node) + node = event.srcElement; if (node.nodeType == Node.TEXT_NODE) node = node.parentNode; var toggle = node.nextSibling; @@ -149,6 +144,13 @@ function listToggle(event) } </script> + +[% PROCESS global/footer.html.tmpl %] + +[%###########################################################################%] +[%# Block for depth control toolbar #%] +[%###########################################################################%] + [% BLOCK depthControlToolbar %] <table cellpadding="3" border="0" cellspacing="0" bgcolor="#d0d0d0"> <tr> |