diff options
author | Byron Jones <glob@mozilla.com> | 2015-05-06 15:56:20 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-05-06 15:59:29 +0200 |
commit | 239c60d1328ef221421bdd1a9bc28467fbe4077a (patch) | |
tree | 4dbdf6422f35dd45f65b5d36648298ace6e255cf /extensions | |
parent | d9116085a05e79c0449455905939406f8ee06a98 (diff) | |
download | bugzilla-239c60d1328ef221421bdd1a9bc28467fbe4077a.tar.gz bugzilla-239c60d1328ef221421bdd1a9bc28467fbe4077a.tar.xz |
Bug 1161983: History navigation broken when using modal view
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/BugModal/web/bug_modal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js index dba3abc85..9e7f5f8f9 100644 --- a/extensions/BugModal/web/bug_modal.js +++ b/extensions/BugModal/web/bug_modal.js @@ -506,7 +506,7 @@ $(function() { $('#attachments-add-btn') .click(function(event) { event.preventDefault(); - window.location.replace('attachment.cgi?bugid=' + BUGZILLA.bug_id + '&action=enter'); + window.location.href = 'attachment.cgi?bugid=' + BUGZILLA.bug_id + '&action=enter'; }); // take button @@ -605,7 +605,7 @@ $(function() { $('#vote-btn') .click(function(event) { event.preventDefault(); - window.location.replace('page.cgi?id=voting/user.html&bug_id=' + BUGZILLA.bug_id + '#vote_' + BUGZILLA.bug_id); + window.location.href = 'page.cgi?id=voting/user.html&bug_id=' + BUGZILLA.bug_id + '#vote_' + BUGZILLA.bug_id; }); // user-story |