blob: 8ad4decf4b3f7331cc99560b235b5fbe67d26ca0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<head>
<meta name="layout" content="mainNoSidebar" />
</head>
<div id="delayExecQueueDiv">
<g:render template="ruleDelayExecQueueDetails" />
</div>
<script>
$(document).ready(function() {
$.ajaxSetup({
cache : false
});
$("#topbarTools").addClass("active");
});
function deleteRulesBulkAction() {
var formData = $("#delayExecForm").serializeArray();
showBlockingPanel();
var jqxhr = $.post(context + "/rule/deleteDelayExecQueue", formData, "html")
.success(function(returnedData, status, xhr) {
var continueReq = checkForSessionTimeout(returnedData, xhr);
if (!continueReq) {
return false;
}
setMessage("Delete action successful");
$("#delayExecQueueDiv").html(returnedData);
unblockPanel();
}).error(function(xhr, status, error) {
setErrorMessage(xhr.responseText);
unblockPanel();
});
}
</script>
|