NIHVIVO-629 Changes to grant form for autocomplete selection

This commit is contained in:
rjy7 2010-07-12 20:40:18 +00:00
parent 9cec915859
commit c8badcf64a
2 changed files with 8 additions and 4 deletions

View file

@ -225,8 +225,12 @@ var customForm = {
this.acSelectorWrapper.hide();
this.acSelector.attr('disabled', 'disabled');
this.acSelection.find('label').html('Selected ' + this.getSelectedTypeName() + ':');
// If only one form step, type is pre-selected, and this label is coded in the html.
if (this.formSteps > 1) {
this.acSelection.find('label').html('Selected ' + this.getSelectedTypeName() + ':');
}
this.acSelection.show();
this.acReceiver.val(uri);