From 6cadcc129e33b09346f4b698d548fa8668af228d Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 27 Jan 2017 04:44:17 +0000 Subject: Bug 1334160 - CSP error on button "rep_hw_os" --- .../en/default/hook/bug/edit-after_op_sys.html.tmpl | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl index b5c3a722b..ff7740f93 100644 --- a/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl @@ -19,11 +19,6 @@ title = "Set platform to reporter's: " _ hw_os.0 _ " / " _ hw_os.1; %] -[% onclick = BLOCK %] - $('#rep_platform').val('[% hw_os.0 FILTER js FILTER html %]'); - $('#op_sys').val('[% hw_os.1 FILTER js FILTER html %]'); - $('#rep_hw_os').hide(); -[% END %] [% IF bug_modal; INCLUDE modal; @@ -34,12 +29,20 @@ [% BLOCK classic %] - (from reporter) + (from reporter) [% END %] [% BLOCK modal %] - [% END %] + + -- cgit v1.2.3-24-g4f1b