diff options
author | mkanat%bugzilla.org <> | 2009-02-25 22:39:00 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-02-25 22:39:00 +0000 |
commit | bfe0ace45de808021bf13e7aa4c2a6b52147a67c (patch) | |
tree | ad6e54b8335c702dcdcc8da9905bcacd6cf5c0dc /template/en/default | |
parent | ba04de6f7d1ad111b61e492f5af9c0fd6145d08d (diff) | |
download | bugs-bfe0ace45de808021bf13e7aa4c2a6b52147a67c.tar bugs-bfe0ace45de808021bf13e7aa4c2a6b52147a67c.tar.gz bugs-bfe0ace45de808021bf13e7aa4c2a6b52147a67c.tar.bz2 bugs-bfe0ace45de808021bf13e7aa4c2a6b52147a67c.tar.xz bugs-bfe0ace45de808021bf13e7aa4c2a6b52147a67c.zip |
Bug 480061: Lots of JS was toggling the "display" attribute instead of removing/adding the bz_default_hidden class.
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=glob, a=mkanat
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/bug/knob.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/list/change-columns.html.tmpl | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl index f08b9e2b1..49eb254c7 100644 --- a/template/en/default/bug/knob.html.tmpl +++ b/template/en/default/bug/knob.html.tmpl @@ -103,7 +103,7 @@ <script type="text/javascript"> var close_status_array = new Array("[% closed_status_array.join('", "') FILTER replace(',$', '') FILTER none %]"); - YAHOO.util.Dom.setStyle('dup_id_discoverable', 'display', 'block'); + YAHOO.util.Dom.removeClass('dup_id_discoverable', 'bz_default_hidden'); hideEditableField( "dup_id_container", "dup_id", 'dup_id_edit_action', 'dup_id', '[% bug.dup_id FILTER js %]' ) showHideStatusItems( "", ['[% "is_duplicate" IF bug.dup_id %]', diff --git a/template/en/default/list/change-columns.html.tmpl b/template/en/default/list/change-columns.html.tmpl index 2e51851a9..36cd5dbb8 100644 --- a/template/en/default/list/change-columns.html.tmpl +++ b/template/en/default/list/change-columns.html.tmpl @@ -56,11 +56,11 @@ </select> </td> <td> - <input class="image_button" type="button" id="select_button" - name="select" onclick="move_select()"> + <input class="image_button bz_default_hidden" type="button" + id="select_button" name="select" onclick="move_select()"> <br><br> - <input class="image_button" type="button" id="deselect_button" - name="deselect" onclick="move_deselect()"> + <input class="image_button bz_default_hidden" type="button" + id="deselect_button" name="deselect" onclick="move_deselect()"> </td> <td> <select name="selected_columns" id="selected_columns" @@ -80,11 +80,11 @@ </select> </td> <td> - <input class="image_button" type="button" id="up_button" - name="up" onclick="move_up()"> + <input class="image_button bz_default_hidden" type="button" + id="up_button" name="up" onclick="move_up()"> <br><br> - <input class="image_button" type="button" id="down_button" - name="down" onclick="move_down()"> + <input class="image_button bz_default_hidden" type="button" + id="down_button" name="down" onclick="move_down()"> </td> </tr> </table> |