diff --git a/productMods/edit/forms/js/addConcept.js b/productMods/edit/forms/js/addConcept.js index 21de63c7..a80ce6a8 100644 --- a/productMods/edit/forms/js/addConcept.js +++ b/productMods/edit/forms/js/addConcept.js @@ -120,7 +120,6 @@ var addConceptForm = { submitSearchTerm: function() { //Get value of search term var searchValue = this.searchTerm.val(); - this.entryTerm.val(searchValue); var dataServiceUrl = addConceptForm.dataServiceUrl + "?searchTerm=" + encodeURIComponent(searchValue); $.getJSON(dataServiceUrl, function(results) { if ( results.array.length == 0 ) { @@ -170,7 +169,7 @@ var addConceptForm = { return bestMatchResults; }, addResultsHeader:function() { - var htmlAdd = "
or Cancel @@ -125,7 +126,9 @@ ${stylesheets.add('')} ${stylesheets.add('')} - +${scripts.add('')} +${scripts.add('')} +${scripts.add('')} ${scripts.add('')} diff --git a/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/AddAssociatedConceptGenerator.java b/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/AddAssociatedConceptGenerator.java index ab095d0e..db1e30a8 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/AddAssociatedConceptGenerator.java +++ b/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/AddAssociatedConceptGenerator.java @@ -223,6 +223,7 @@ public class AddAssociatedConceptGenerator extends VivoBaseGenerator implements //The URI of the node that defines the concept urisOnForm.add("conceptNode"); urisOnForm.add("conceptSource"); + editConfiguration.setUrisOnform(urisOnForm); //Also need to add the label of the concept literalsOnForm.add("conceptLabel"); editConfiguration.setLiteralsOnForm(literalsOnForm);