diff --git a/htroot/interaction_elements/Tag_part.html b/htroot/interaction_elements/Tag_part.html index f94496982..963ad6b2e 100644 --- a/htroot/interaction_elements/Tag_part.html +++ b/htroot/interaction_elements/Tag_part.html @@ -39,16 +39,20 @@ color: #5a346e; var vocs = vocabularies_string.split (","); var existingtags = ""; - - $.ajaxSetup({async: false}); var resultstring = ""; + + if (vocabularies_string != "") { -$.getJSON('/currentyacypeer/api/yacydoc.htm?urlhash=#[hash]#', function(data) { + $.ajaxSetup({async: false}); + + - resultstring = data.result; -}); + $.getJSON('/currentyacypeer/api/yacydoc.htm?urlhash=#[hash]#', function(data) { + resultstring = data.result; + }); + }