mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -05:00
codeformat
This commit is contained in:
parent
a82362cda2
commit
2e7c8adcec
@ -41,7 +41,10 @@ ST.spamadmin = function() {
|
|||||||
$('.content .quick_remove').live('click', function(ev) {
|
$('.content .quick_remove').live('click', function(ev) {
|
||||||
var ip = $(ev.target).data('ip');
|
var ip = $(ev.target).data('ip');
|
||||||
if (confirm('Delete all pastes belonging to ' + ip + '?')) {
|
if (confirm('Delete all pastes belonging to ' + ip + '?')) {
|
||||||
$.post(base_url + 'spamadmin/' + ip, { 'confirm_remove': 'yes', 'block_ip': 1 }, function() {
|
$.post(base_url + 'spamadmin/' + ip, {
|
||||||
|
'confirm_remove': 'yes',
|
||||||
|
'block_ip': 1
|
||||||
|
}, function() {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user