From 424b21e37cd9aeac01588ce0defd3ee665944b1d Mon Sep 17 00:00:00 2001 From: Simon Green Date: Thu, 14 Aug 2014 09:40:47 +1000 Subject: Bug 1012506 - Allow a bug to have multiple aliases r=dkl, a=sgreen --- js/field.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'js') 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, -- cgit v1.2.3-24-g4f1b