From: Kohei Yoshino Date: Thu, 9 May 2019 22:18:57 +0000 (-0400) Subject: Bug 1550439 - Type is reset on hard-refresh with "Always Enable Edit Mode" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=325bb5a282792b16a6afe04981895489fe72c4dc;p=thirdparty%2Fbugzilla.git Bug 1550439 - Type is reset on hard-refresh with "Always Enable Edit Mode" --- diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js index d14120c49..afd438ac7 100644 --- a/extensions/BugModal/web/bug_modal.js +++ b/extensions/BugModal/web/bug_modal.js @@ -1384,9 +1384,6 @@ $(function() { saveBugComment(event.target.value); }); - // finally switch to edit mode if we navigate back to a page that was editing - $(window).on('pageshow', restoreEditMode); - $(window).on('pageshow', restoreSavedBugComment); restoreEditMode(); restoreSavedBugComment(); });