From e8551401528989667d87b4f7df9c3f97f5535cf7 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 13 Jul 2015 12:50:44 +0800 Subject: Bug 1182498: Assignee not displayed correctly on some bugs --- extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 2 +- .../template/en/default/hook/global/header-additional_header.html.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions') diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index 0fd446988..9cfbd6727 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -453,7 +453,7 @@ [% unassigned = (bug.assigned_to.login == "nobody@mozilla.org") - || (bug.assigned_to.login.search("\.bugs$")); + || (bug.assigned_to.login.search('\.bugs$')); sub = "Reporter: " _ bug.reporter.moz_nick _ (unassigned ? ", Unassigned" : ", Assigned: " _ bug.assigned_to.moz_nick) diff --git a/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl b/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl index 786010a34..5b2fa043b 100644 --- a/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl +++ b/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl @@ -53,7 +53,7 @@ function persona_onlogin(assertion) { createHidden('persona_assertion', assertion, form); [% FOREACH field = cgi.param() %] - [% NEXT IF field.search("^(Bugzilla_(login|password|restrictlogin)|token|persona_assertion)$") %] + [% NEXT IF field.search('^(Bugzilla_(login|password|restrictlogin)|token|persona_assertion)$') %] [% NEXT UNLESS cgi.param(field).can('slice') %] [% FOREACH mvalue = cgi.param(field).slice(0) %] createHidden('[% field FILTER js %]', '[% mvalue FILTER html_linebreak FILTER js %]', form); -- cgit v1.2.3-24-g4f1b