From 75bfca1c147e99b9ab8da67f96247f71687563d5 Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Mon, 29 Oct 2018 14:28:24 -0400 Subject: [PATCH] =?utf8?q?Bug=201479535=20-=20BUGZILLA.bug=5Furl=20is=20wr?= =?utf8?q?ong=20on=20bug=20page=20after=20POSTed,=20Copy=20Summary=20doesn?= =?utf8?q?=E2=80=99t=20work=20as=20expected?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../BugModal/template/en/default/bug_modal/header.html.tmpl | 2 +- .../template/en/default/hook/global/header-start.html.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl index 20561c760..87dea7975 100644 --- a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl @@ -92,7 +92,7 @@ BUGZILLA.bug_id = [% bug.id FILTER none %]; BUGZILLA.bug_title = '[% unfiltered_title FILTER js %]'; BUGZILLA.bug_summary = '[% bug.short_desc FILTER js %]'; - BUGZILLA.bug_url = '[% Bugzilla.cgi.self_url FILTER js %]'; + BUGZILLA.bug_url = '[% Bugzilla.localconfig.canonical_urlbase _ "show_bug.cgi?id=" _ bug.id FILTER js %]'; BUGZILLA.user = { id: [% user.id FILTER none %], login: '[% user.login FILTER js %]', diff --git a/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl b/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl index 51c388d42..52633172b 100644 --- a/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl +++ b/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl @@ -9,8 +9,8 @@ [% USE Bugzilla %] - [% IF bug %] + [% ELSIF error_message %] -- 2.47.3