aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2014-08-14 09:40:47 +1000
committerSimon Green <sgreen@redhat.com>2014-08-14 09:40:47 +1000
commit424b21e37cd9aeac01588ce0defd3ee665944b1d (patch)
tree594aa91a4fafc7c30d26e0ee9a160f62bf4d063f /js
parent6dbcec07eba4b0910c883141a85b0b9928b85f32 (diff)
downloadbugs-424b21e37cd9aeac01588ce0defd3ee665944b1d.tar
bugs-424b21e37cd9aeac01588ce0defd3ee665944b1d.tar.gz
bugs-424b21e37cd9aeac01588ce0defd3ee665944b1d.tar.bz2
bugs-424b21e37cd9aeac01588ce0defd3ee665944b1d.tar.xz
bugs-424b21e37cd9aeac01588ce0defd3ee665944b1d.zip
Bug 1012506 - Allow a bug to have multiple aliases
r=dkl, a=sgreen
Diffstat (limited to 'js')
-rw-r--r--js/field.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/js/field.js b/js/field.js
index f865a141f..7c5c5b64e 100644
--- a/js/field.js
+++ b/js/field.js
@@ -295,7 +295,7 @@ function checkForChangedFieldValues(e, ContainerInputArray ) {
if ( el ) {
if ( !ContainerInputArray[4]
&& (el.value != ContainerInputArray[3]
- || (el.value == "" && el.id != "alias" && el.id != "qa_contact")) )
+ || (el.value == "" && el.id != "qa_contact")) )
{
unhide = true;
}
@@ -316,17 +316,6 @@ function checkForChangedFieldValues(e, ContainerInputArray ) {
}
-function hideAliasAndSummary(short_desc_value, alias_value) {
- // check the short desc field
- hideEditableField( 'summary_alias_container','summary_alias_input',
- 'editme_action','short_desc', short_desc_value);
- // check that the alias hasn't changed
- var bz_alias_check_array = new Array('summary_alias_container',
- 'summary_alias_input', 'alias', alias_value);
- YAHOO.util.Event.addListener( window, 'load', checkForChangedFieldValues,
- bz_alias_check_array);
-}
-
function showPeopleOnChange( field_id_list ) {
for(var i = 0; i < field_id_list.length; i++) {
YAHOO.util.Event.addListener( field_id_list[i],'change', showEditableField,