Merge pull request #6205 from PhoenixPeca/master

Improve the existing validation flow for sieve filter
This commit is contained in:
FreddleSpl0it authored and GitHub committed 2025-01-14 12:08:56 +01:00
commit 2f1884e94b
2 files changed
+4 -5

No files matched your search

+1 -2
View File
@@ -179,9 +179,8 @@ $(document).ready(function() {
// Get script_data textarea content from form the button was clicked in
var script = $('textarea[name="script_data"]', $(this).parents('form:first')).val();
$.ajax({
dataType: 'json',
url: "/inc/ajax/sieve_validation.php",
type: "get",
type: "post",
data: { script: script },
complete: function(data) {
var response = (data.responseText);