summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-03-31 17:19:42 +0200
committerByron Jones <glob@mozilla.com>2015-03-31 17:19:42 +0200
commitf293fdf225ed0745de63f9f205407ccc2b8a44d4 (patch)
treebc66f6d0b77d8234e8653eda19dbcc0ad403be9c
parent79ec29975ac8d1a4f49b83ed404a1ee04c33b73c (diff)
downloadbugzilla-f293fdf225ed0745de63f9f205407ccc2b8a44d4.tar.gz
bugzilla-f293fdf225ed0745de63f9f205407ccc2b8a44d4.tar.xz
Bug 1121788: Buttons in buglist don't work in IE
r=lpsolit,a=sgreen
-rw-r--r--skins/standard/buglist.css3
-rw-r--r--template/en/default/list/list.html.tmpl33
2 files changed, 22 insertions, 14 deletions
diff --git a/skins/standard/buglist.css b/skins/standard/buglist.css
index d614da9ea..e58baabfd 100644
--- a/skins/standard/buglist.css
+++ b/skins/standard/buglist.css
@@ -58,6 +58,7 @@
.bz_query_links a img {
vertical-align: bottom;
+ border: 0;
}
.bz_query_links a {
@@ -584,4 +585,4 @@ table.owner, table.number, table.zeroitems {
padding-right: 3em;
}
-/* summarize_time.cgi (end) */ \ No newline at end of file
+/* summarize_time.cgi (end) */
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index d5022778e..d72a4eff6 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -235,19 +235,23 @@
><img title="Feed Format" alt="Feed" src="images/rss.png" height="24" width="24"></a>
<a href="buglist.cgi?[% urlquerypart FILTER html %]&amp;ctype=ics"
><img title="iCal Format" alt="iCal" src="images/ical.png" height="24" width="24"></a>
- <a href="colchange.cgi?[% urlquerypart FILTER html %]&amp;query_based_on=
- [% defaultsavename OR searchname FILTER uri %]"
- ><button>Change Columns</button></a>
+ <button type="button"
+ onclick="document.location='colchange.cgi?[% urlquerypart FILTER html %]&amp;query_based_on=
+ [%~ defaultsavename OR searchname FILTER uri %]'">
+ Change Columns</button>
+
[% IF bugs.size > 1 && caneditbugs && !dotweak %]
- <a href="buglist.cgi?[% urlquerypart FILTER html %]
- [%- "&order=$qorder" FILTER html IF order %]&amp;tweak=1"
- ><button>Change Several [% terms.Bugs %] at Once</button></a>
+ <button type="button"
+ onclick="document.location='buglist.cgi?[% urlquerypart FILTER html %]
+ [%- "&order=$qorder" FILTER html IF order %]&amp;tweak=1'">
+ Change Several [% terms.Bugs %] at Once</button>
[% END %]
[% IF bugowners && user.id %]
- <a href="mailto:[% bugowners FILTER html %]"
- ><button>Send Mail to [% terms.Bug %] Assignees</button></a>
+ <button type="button"
+ onclick="document.location='mailto:[% bugowners FILTER html %]'">
+ Send Mail to [% terms.Bug %] Assignees</button>
[% END %]
[%# Links to more things users can do with this bug list. %]
@@ -256,15 +260,18 @@
<br>
[% END %]
<div class="bz_query_edit">
- <a href="[% PROCESS edit_search_url %]"><button>Edit Search</button></a>
+ <button type="button"
+ onclick="document.location='[% PROCESS edit_search_url %]'">
+ Edit Search</button>
</div>
[% IF searchtype == "saved" %]
<div class="bz_query_forget">
- <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
- [% searchname FILTER uri %]&amp;token=
- [% issue_hash_token([search_id, searchname]) FILTER uri %]"
- ><button>Forget Search '[% searchname FILTER html %]'</button></a>
+ <button type="button"
+ onclick="document.location='buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
+ [%- searchname FILTER uri %]&amp;token=
+ [%- issue_hash_token([search_id, searchname]) FILTER uri %]'">
+ Forget Search '[% searchname FILTER html %]'</button>
</div>
[% ELSE %]
<div class="bz_query_remember">