chg: [element:indexTable] Changed notification behavior of toggle field
parent
851d9cfee7
commit
e35bf9fa74
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue