asdasd
This commit is contained in:
@@ -425,6 +425,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||||||
$current = modules()->settings($moduleName);
|
$current = modules()->settings($moduleName);
|
||||||
$refreshSchedulerState();
|
$refreshSchedulerState();
|
||||||
|
|
||||||
|
while (ob_get_level() > 0) {
|
||||||
|
ob_end_clean();
|
||||||
|
}
|
||||||
header('Content-Type: application/json; charset=utf-8');
|
header('Content-Type: application/json; charset=utf-8');
|
||||||
echo json_encode([
|
echo json_encode([
|
||||||
'ok' => true,
|
'ok' => true,
|
||||||
@@ -1744,9 +1747,10 @@ $activeDbGroup = $testGroup !== null && array_key_exists($testGroup, $dbGroups)
|
|||||||
|
|
||||||
const persistScheduler = async () => {
|
const persistScheduler = async () => {
|
||||||
if (!form) return true;
|
if (!form) return true;
|
||||||
const response = await fetch(window.location.href, {
|
const response = await fetch(form.action || window.location.href, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: collectSchedulerPayload(),
|
body: collectSchedulerPayload(),
|
||||||
|
credentials: 'same-origin',
|
||||||
headers: {
|
headers: {
|
||||||
'Accept': 'application/json',
|
'Accept': 'application/json',
|
||||||
'X-Requested-With': 'XMLHttpRequest',
|
'X-Requested-With': 'XMLHttpRequest',
|
||||||
@@ -2144,7 +2148,8 @@ $activeDbGroup = $testGroup !== null && array_key_exists($testGroup, $dbGroups)
|
|||||||
.scheduler-modal__backdrop {
|
.scheduler-modal__backdrop {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
background: #ffffff;
|
background: rgba(255, 255, 255, 0.38);
|
||||||
|
backdrop-filter: blur(1px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.scheduler-modal__dialog {
|
.scheduler-modal__dialog {
|
||||||
|
|||||||
Reference in New Issue
Block a user