From e35bf9fa74831565c6164d99c9bd53ab23699347 Mon Sep 17 00:00:00 2001 From: mokaddem Date: Wed, 10 Mar 2021 09:40:08 +0100 Subject: [PATCH] chg: [element:indexTable] Changed notification behavior of toggle field --- templates/element/genericElements/IndexTable/Fields/toggle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/element/genericElements/IndexTable/Fields/toggle.php b/templates/element/genericElements/IndexTable/Fields/toggle.php index 4064c8f..b31d9f1 100644 --- a/templates/element/genericElements/IndexTable/Fields/toggle.php +++ b/templates/element/genericElements/IndexTable/Fields/toggle.php @@ -84,7 +84,7 @@ function submitForm(api, url) { const reloadUrl = 'Url->build(['action' => 'index']) ?>' - return api.fetchAndPostForm(url, {}) + return api.fetchAndPostForm(url, {}, false, true) .then(() => { const isChecked = $('#').prop('checked')