Closed Bug 1901945 Opened 1 year ago Closed 1 year ago

Can't go back to bug number page in the browser history after clicking on the "Add reminder" button

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: pascalc, Assigned: dkl)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

https://github.com/mozilla-bteam/bmo/blob/842c7a6cb850c0e259ffb7a2acf17d9f7240bd71/extensions/BugModal/web/bug_modal.js#L923 is the problem; it should be assigning to location.href not calling location.replace().

Also, this function is async unnecessarily, and query strings shouldn't contain spaces:

- query_string += "&note=Needinfo requested by " + encodeURIComponent(has_needinfo_from);
+ query_string += "&note=" + encodeURIComponent("Needinfo requested by " + has_needinfo_from);
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: