* Save custom form fields on the old page and redirect to the parent window.

This commit is contained in:
hufangzhou
2024-05-15 13:55:39 +08:00
parent 2c9d89418f
commit 07cf83ddc1
+1
View File
@@ -418,6 +418,7 @@ class custom extends control
if($module == 'programplan' && $section == 'custom') $key = 'createFields';
$customFields = $this->config->$module->list->{'custom' . ucfirst($key)};
$showFields = $this->config->$module->custom->$key;
if($module == 'marketresearch') return print(js::reload('parent'));
return $this->send(array('result' => 'success', 'key' => $key, 'callback' => 'loadCurrentPage', 'customFields' => $customFields, 'showFields' => $showFields));
}