Commit 60d8668a authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers 🐦

if rule eval fails, don't lock the user out forever

parent cfb7ef9f
Pipeline #1121 passed with stages
in 31 seconds
......@@ -226,6 +226,10 @@ function buildAgent() {
updateTable();
testPending = false;
$("#testBtn .fa-spinner").css("display", "none");
}).fail(function(response) {
alert("error submitting rule for evaluation");
testPending = false;
$("#testBtn .fa-spinner").css("display", "none");
});
}
......@@ -252,6 +256,10 @@ function buildAgentFixed() {
updateTable();
testPending = false;
$("#testBtn .fa-spinner").css("display", "none");
}).fail(function(response) {
alert("error submitting rule for evaluation");
testPending = false;
$("#testBtn .fa-spinner").css("display", "none");
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment