From 0b742beecca51038d142a9f0ff5e6c4fd62de794 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Mon, 12 Jul 2010 21:41:20 +0000 Subject: [PATCH] NIHVIVO-725 Cancel action on autocomplete selection view --- productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js b/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js index 5eb4cb4f..d8c5d011 100644 --- a/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js +++ b/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js @@ -254,6 +254,8 @@ var customForm = { undoAutocompleteSelection: function() { this.acSelectorWrapper.show(); + this.acSelector.attr('disabled', ''); + this.acSelector.val(''); this.hideFields(this.acSelection); this.acReceiver.val(''); this.acSelectionInfo.html('');