updates for concept addition and integration of umls/agrovoc search services
This commit is contained in:
parent
943315a9c6
commit
ce84967d01
28 changed files with 3472 additions and 71 deletions
|
@ -120,7 +120,8 @@ var addConceptForm = {
|
|||
submitSearchTerm: function() {
|
||||
//Get value of search term
|
||||
var searchValue = this.searchTerm.val();
|
||||
var dataServiceUrl = addConceptForm.dataServiceUrl + "?searchTerm=" + encodeURIComponent(searchValue);
|
||||
var vocabSourceValue = this.vocabSource.val();
|
||||
var dataServiceUrl = addConceptForm.dataServiceUrl + "?searchTerm=" + encodeURIComponent(searchValue) + "&source=" + encodeURIComponent(vocabSourceValue);
|
||||
$.getJSON(dataServiceUrl, function(results) {
|
||||
if ( results.array.length == 0 ) {
|
||||
alert("results not correct length");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue