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 = "";
$.ajaxSetup({async: false});
var resultstring = ""; var resultstring = "";
$.getJSON('/currentyacypeer/api/yacydoc.htm?urlhash=#[hash]#', function(data) { if (vocabularies_string != "") {
$.ajaxSetup({async: false});
resultstring = data.result;
});
$.getJSON('/currentyacypeer/api/yacydoc.htm?urlhash=#[hash]#', function(data) {
resultstring = data.result;
});
}

Loading…
Cancel
Save