Mercurial > hg > fapweb
comparison admin.php @ 435:7f950ab60be4
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 05 Dec 2013 22:43:23 +0200 |
parents | 07d0dab94cdc |
children | 48903fd966cd |
comparison
equal
deleted
inserted
replaced
434:d948f1f12b23 | 435:7f950ab60be4 |
---|---|
439 jsSendPOSTRequest("action=get&type=votekey&id="+id, msuccess1); | 439 jsSendPOSTRequest("action=get&type=votekey&id="+id, msuccess1); |
440 jsSendPOSTRequest("action=get&type=votekeyclass&id="+id, msuccess2); | 440 jsSendPOSTRequest("action=get&type=votekeyclass&id="+id, msuccess2); |
441 } | 441 } |
442 | 442 |
443 | 443 |
444 function voteKeyUpdate(id, mode, args) | 444 function voteKeyUpdate(id, type, args) |
445 { | 445 { |
446 var msuccess = function(txt) | 446 var msuccess = function(txt) |
447 { | 447 { |
448 voteKeyRefresh(id); | 448 voteKeyRefresh(id); |
449 } | 449 } |
450 | 450 |
451 jsSendPOSTRequest("action=update&type=votekey&mode="+mode+"&id="+id+"&"+args, msuccess); | 451 jsSendPOSTRequest("action=votekey&type="+type+"&id="+id+"&"+args, msuccess); |
452 } | 452 } |
453 | 453 |
454 | 454 |
455 function voteKeySetActive(id) | 455 function voteKeySetActive(id) |
456 { | 456 { |