summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-02-25 23:39:00 +0100
committermkanat%bugzilla.org <>2009-02-25 23:39:00 +0100
commitbfe0ace45de808021bf13e7aa4c2a6b52147a67c (patch)
treead6e54b8335c702dcdcc8da9905bcacd6cf5c0dc /template/en/default/bug
parentba04de6f7d1ad111b61e492f5af9c0fd6145d08d (diff)
downloadbugzilla-bfe0ace45de808021bf13e7aa4c2a6b52147a67c.tar.gz
bugzilla-bfe0ace45de808021bf13e7aa4c2a6b52147a67c.tar.xz
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/bug')
-rw-r--r--template/en/default/bug/knob.html.tmpl2
1 files changed, 1 insertions, 1 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 %]',