js.ontology-manager.min.js Maven / Gradle / Ivy
(function(c,a){var b=new a.RestClient();a.searchAvailableIndices=function(){c.ajax({type:"GET",url:a.getContextUrl()+"/ontology",contentType:"application/json",success:function(f){var d=f.results;if(d&&d.length>0){var e=c("#ontology-table");c.each(d,function(l,j){var m=j.ontologyIRI;var h=j.ontologyName;var g="Indexed";var i=c(" ");c(" ").append(h).appendTo(i);c(" ").append(''+m+"").appendTo(i);c(" ").append(g).appendTo(i);var k=c('').click(function(){c('input[name="ontologyUri"]').val(m);c("#ontologymanager-form").attr({action:a.getContextUrl()+"/remove",method:"POST"}).submit()});c(" ").append(k).appendTo(i);i.appendTo(e)})}}})};a.searchAvailableIndices()}($,window.top.molgenis=window.top.molgenis||{}));
© 2015 - 2025 Weber Informatics LLC | Privacy Policy