chg: [element:indexTable] Changed notification behavior of toggle field

pull/40/head
mokaddem 2021-03-10 09:40:08 +01:00
parent 851d9cfee7
commit e35bf9fa74
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@
function submitForm(api, url) {
const reloadUrl = '<?= isset($field['toggle_data']['reload_url']) ? $field['toggle_data']['reload_url'] : $this->Url->build(['action' => 'index']) ?>'
return api.fetchAndPostForm(url, {})
return api.fetchAndPostForm(url, {}, false, true)
.then(() => {
<?php if (!empty($field['toggle_data']['skip_full_reload'])): ?>
const isChecked = $('#<?= $checkboxId ?>').prop('checked')