Only load tag information if necessary

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

@ -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;
});
}

Loading…
Cancel
Save