diff options
author | Byron Jones <glob@mozilla.com> | 2015-03-31 17:19:42 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-31 17:19:42 +0200 |
commit | f293fdf225ed0745de63f9f205407ccc2b8a44d4 (patch) | |
tree | bc66f6d0b77d8234e8653eda19dbcc0ad403be9c | |
parent | 79ec29975ac8d1a4f49b83ed404a1ee04c33b73c (diff) | |
download | bugzilla-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.css | 3 | ||||
-rw-r--r-- | template/en/default/list/list.html.tmpl | 33 |
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 %]&ctype=ics" ><img title="iCal Format" alt="iCal" src="images/ical.png" height="24" width="24"></a> - <a href="colchange.cgi?[% urlquerypart FILTER html %]&query_based_on= - [% defaultsavename OR searchname FILTER uri %]" - ><button>Change Columns</button></a> + <button type="button" + onclick="document.location='colchange.cgi?[% urlquerypart FILTER html %]&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 %]&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 %]&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&remaction=forget&namedcmd= - [% searchname FILTER uri %]&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&remaction=forget&namedcmd= + [%- searchname FILTER uri %]&token= + [%- issue_hash_token([search_id, searchname]) FILTER uri %]'"> + Forget Search '[% searchname FILTER html %]'</button> </div> [% ELSE %] <div class="bz_query_remember"> |