aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-28 15:58:56 -0800
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-28 15:58:56 -0800
commit17783b6bd2f470b5f62be69fc90b18319bc675f0 (patch)
tree4ac55142898a6990f74ed5bc7191ff854d56ca1c
parentBug 474738: Make all of the "not" search types show up in search descriptions (diff)
downloadbugzilla-17783b6bd2f470b5f62be69fc90b18319bc675f0.tar.gz
bugzilla-17783b6bd2f470b5f62be69fc90b18319bc675f0.tar.bz2
bugzilla-17783b6bd2f470b5f62be69fc90b18319bc675f0.zip
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 0f1779b32..62ca7e450 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);
}