]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1550439 - Type is reset on hard-refresh with "Always Enable Edit Mode"
authorKohei Yoshino <kohei.yoshino@gmail.com>
Thu, 9 May 2019 22:18:57 +0000 (18:18 -0400)
committerGitHub <noreply@github.com>
Thu, 9 May 2019 22:18:57 +0000 (18:18 -0400)
extensions/BugModal/web/bug_modal.js

index d14120c49a0b891dea96883709b91b7d58776bbe..afd438ac7bf68fe129202b028179b5b9f7d60a57 100644 (file)
@@ -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();
 });