This commit is contained in:
Unknwon 2015-12-05 13:24:13 -05:00
parent f0ee33267c
commit 404867f206
13 changed files with 443 additions and 360 deletions

View file

@ -548,6 +548,19 @@ function initWebhook() {
$('.events.fields').hide();
}
});
// Test delivery
$('#test-delivery').click(function () {
var $this = $(this);
$this.addClass('loading disabled');
$.post($this.data('link'), {
"_csrf": csrf
}).done(
setTimeout(function () {
window.location.href = $this.data('redirect');
}, 5000)
)
});
}