didnt work

This commit is contained in:
Nael 2014-03-12 21:32:56 +01:00
parent ea7262fdbc
commit 2a18c523d5

View File

@ -215,8 +215,8 @@ function vote_click (poll_ID, vote) {
}
function submit_commentrate (c_ID, val) {
$.getJSON('./api.php?call=vote&action=commentrate&c_ID=' + c_ID + '&val=' + val, function(data) {
alert('success');
alert('success');
$.getJSON('./api.php?call=vote&action=commentrate&c_ID=' + c_ID + '&val=' + val, function(data) {
var items = [];
if(data.status == true){
} else {