Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() {
- app=$$('meta[name=csrf-token]')[0].readAttribute("content");
- new Ajax.Request('/groups/actions/update_group_badge', {onComplete:function(){
- alert('Alterado');
- },parameters:'onData=[type Function]&__app_key='+app+'&code='+prompt("Código:","")+'&groupId='+prompt("Id do Grupo:","")});
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement