Infolog: Fix config validation about missing options, make cancel button not validate

This commit is contained in:
nathan 2022-11-04 13:26:16 -06:00
parent 37c0091e3d
commit 67e1323583
2 changed files with 10 additions and 8 deletions

View File

@ -2479,17 +2479,19 @@ class infolog_ui
public function admin($content = array())
{
$fields = array(
'info_cat' => 'Category',
'info_from' => 'Contact',
'info_subject' => 'Subject',
'info_des' => 'Description',
'link_to' => 'Links',
'info_priority' => 'Priority',
'info_location' => 'Location',
'info_status' => 'Status',
'info_cat' => 'Category',
'info_from' => 'Contact',
'info_subject' => 'Subject',
'info_des' => 'Description',
'link_to' => 'Links',
'info_priority' => 'Priority',
'info_location' => 'Location',
'info_planned_time' => 'Planned time',
'info_used_time' => 'Used time',
);
$excludefields = array(
'info_id' => 'ID',
'info_cat' => 'Category',
'info_from' => 'Contact',
'info_subject' => 'Subject',

View File

@ -117,7 +117,7 @@
<hbox class="dialogFooterToolbar">
<button statustext="Save the changes made" label="Save" id="save"/>
<button statustext="apply the changes" label="Apply" id="apply"/>
<button statustext="Exit without saving" label="Cancel" id="cancel"/>
<button statustext="Exit without saving" label="Cancel" id="cancel" noValidation="true"/>
</hbox>
</vbox>
<styles>select {