summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/show-header.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/bug/show-header.html.tmpl')
-rw-r--r--template/en/default/bug/show-header.html.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/template/en/default/bug/show-header.html.tmpl b/template/en/default/bug/show-header.html.tmpl
index c340def17..946b50abf 100644
--- a/template/en/default/bug/show-header.html.tmpl
+++ b/template/en/default/bug/show-header.html.tmpl
@@ -56,6 +56,12 @@
[% javascript FILTER none %]
[% END %]
[% END %]
++[% javascript = BLOCK %]
+ YAHOO.util.Event.onDOMReady(function() {
+ YAHOO.util.Event.addListener(window, 'keydown', keys_pressed, [% bug.id FILTER none %]);
+ YAHOO.util.Event.addListener(window, 'keyup', keys_released);
+ });
+[% END %]
[% style_urls = ['skins/standard/bug.css'] %]
[% doc_section = "using.html#anatomy-of-a-bug" %]
[% bodyclasses = ['bz_bug',