diff options
author | David Lawrence <dkl@mozilla.com> | 2017-03-01 04:47:10 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2017-03-01 04:47:10 +0100 |
commit | 18ecb6e0e1d6e4d816fb3c8cf3b0b073abff2de9 (patch) | |
tree | 96fcb460eafa0e16b46fc1c8f7956aa54949e5c1 /extensions | |
parent | 0df99051c5ba35dc7ae4654d967b42cfd09da8aa (diff) | |
download | bugzilla-18ecb6e0e1d6e4d816fb3c8cf3b0b073abff2de9.tar.gz bugzilla-18ecb6e0e1d6e4d816fb3c8cf3b0b073abff2de9.tar.xz |
Bug 1343430 - The "Format Bug" and "New/Clone Bug" buttons cause page to reload (need type="button")
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
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 e3854f2e2..ad3bc77b9 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -1314,7 +1314,7 @@ <div id="bottom-right-actions"> <button type="button" id="top-btn" class="minor">Top ↑</button> <div class="dropdown"> - <button id="format-btn" aria-haspopup="true" aria-label="Format [% terms.Bug %] Menu" + <button type="button" id="format-btn" aria-haspopup="true" aria-label="Format [% terms.Bug %] Menu" aria-expanded="false" aria-controls="format-menu" class="dropdown-button minor">Format [% terms.Bug %] ▴</button> <ul class="dropdown-content menu-up" id="format-menu" role="menu" style="display:none;"> <li role="presentation"> @@ -1335,7 +1335,7 @@ </div> [% IF user.id %] <div class="dropdown"> - <button id="new-bug-btn" aria-haspopup="true" aria-label="New/Clone [% terms.Bug %] Menu" + <button type="button" id="new-bug-btn" aria-haspopup="true" aria-label="New/Clone [% terms.Bug %] Menu" aria-expanded="false" aria-controls="new-bug-menu" class="dropdown-button minor">New/Clone [% terms.Bug %] ▴</button> <ul class="dropdown-content menu-up" id="new-bug-menu" role="menu" style="display:none;"> <li role="presentation"> |