Fixing tag submission

This commit is contained in:
Kevin Chung
2017-04-24 19:25:20 -04:00
parent ebd303a920
commit 3488baf504

View File

@@ -178,8 +178,8 @@ function updatetags(){
$('#chal-tags > span > span').each(function(i, e){ $('#chal-tags > span > span').each(function(i, e){
tags.push($(e).text()) tags.push($(e).text())
}); });
$.post(script_root + '/admin/tags/'+chal, {'tags':tags, 'nonce': $('#nonce').val()}) $.post(script_root + '/admin/tags/'+chal, {'tags':tags, 'nonce': $('#nonce').val()});
loadchal(chal) $('#update-tags').modal('toggle');
} }
function updatefiles(){ function updatefiles(){