Only load tag information if necessary

pull/1/head
cominch 13 years ago
parent 011f8a5818
commit 6b4545d6b0

@ -40,15 +40,19 @@ color: #5a346e;
var existingtags = ""; var existingtags = "";
var resultstring = "";
if (vocabularies_string != "") {
$.ajaxSetup({async: false}); $.ajaxSetup({async: false});
var resultstring = "";
$.getJSON('/currentyacypeer/api/yacydoc.htm?urlhash=#[hash]#', function(data) { $.getJSON('/currentyacypeer/api/yacydoc.htm?urlhash=#[hash]#', function(data) {
resultstring = data.result; resultstring = data.result;
}); });
}

Loading…
Cancel
Save