From 406dcbbcd3b800582d79c6d8095b905367d0141a Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 18 Apr 2014 21:27:48 +0200 Subject: Backout bug 984980 --- template/en/default/attachment/create.html.tmpl | 7 ------- template/en/default/bug/show-header.html.tmpl | 6 ------ 2 files changed, 13 deletions(-) (limited to 'template') diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index e8193e319..18cc12640 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -11,13 +11,6 @@ [% header = BLOCK %]Create New Attachment for [%+ "$terms.Bug $bug.bug_id" FILTER bug_link(bug) FILTER none %][% END %] [% subheader = BLOCK %][% bug.short_desc FILTER html %][% 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 %] - [% PROCESS global/header.html.tmpl title = title diff --git a/template/en/default/bug/show-header.html.tmpl b/template/en/default/bug/show-header.html.tmpl index 21237227e..c340def17 100644 --- a/template/en/default/bug/show-header.html.tmpl +++ b/template/en/default/bug/show-header.html.tmpl @@ -56,12 +56,6 @@ [% 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', -- cgit v1.2.3-24-g4f1b