From 9c455badb90edeac1ca10815dcd3d025328708b5 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Thu, 3 Apr 2025 13:08:44 -0400 Subject: [PATCH] support background actions via config UI --- salt/soc/soc_soc.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/salt/soc/soc_soc.yaml b/salt/soc/soc_soc.yaml index b0ecfdbc1..a12da330a 100644 --- a/salt/soc/soc_soc.yaml +++ b/salt/soc/soc_soc.yaml @@ -81,6 +81,26 @@ soc: label: Target - field: jscall label: JavaScript Call + - field: background + label: Background XHR Request + forcedType: bool + - field: method + label: XHR Method + options: + - DELETE + - GET + - PATCH + - POST + - PUT + - field: body + label: XHR Content + - field: encodeBody + label: Encode XHR Content Variable Data + forcedType: bool + - field: backgroundSuccessLink + label: XHR Success Link + - field: backgroundFailureLink + label: XHR Failure Link - field: category label: Category options: