summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-03-01 00:58:05 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-03-01 00:58:05 +0100
commitc46a6d342363c1d0bccb4a80a41222ae38e2f0a0 (patch)
tree07f21db7c0d754aec052769a3143c1faa1c48b1a
parent8ab81b0e0f374ab2cabfc06fbd544c7d817ecbe1 (diff)
downloadbugzilla-c46a6d342363c1d0bccb4a80a41222ae38e2f0a0.tar.gz
bugzilla-c46a6d342363c1d0bccb4a80a41222ae38e2f0a0.tar.xz
Bug 548933: The "Mark as Duplicate" link was changing bugs to RESOLVED FIXED
r=pyrzak, a=mkanat
-rw-r--r--js/field.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/field.js b/js/field.js
index 24ff38f62..39b272f92 100644
--- a/js/field.js
+++ b/js/field.js
@@ -337,8 +337,9 @@ function setResolutionToDuplicate(e, duplicate_or_move_bug_status) {
var resolution = document.getElementById('resolution');
YAHOO.util.Dom.addClass('dup_id_discoverable', 'bz_default_hidden');
status.value = duplicate_or_move_bug_status;
+ bz_fireEvent(status, 'change');
resolution.value = "DUPLICATE";
- showHideStatusItems("", ["",""]);
+ bz_fireEvent(resolution, 'change');
YAHOO.util.Event.preventDefault(e);
}