mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 14:29:02 +01:00
Country list no longer supports options, so include custom in sel_options
This commit is contained in:
parent
1da6e78def
commit
27d88b93ec
@ -299,6 +299,7 @@ class addressbook_ui extends addressbook_bo
|
||||
'cc' => 'Cc',
|
||||
'bcc' => 'Bcc',
|
||||
);
|
||||
$sel_options['adr_one_countrycode']['-custom-'] = lang('No country selected');
|
||||
|
||||
// if there is any export limit set, pass it on to the nextmatch, to be evaluated by the export
|
||||
if (isset($this->config['contact_export_limit']) && (int)$this->config['contact_export_limit']) $content['nm']['export_limit']=$this->config['contact_export_limit'];
|
||||
@ -2175,6 +2176,7 @@ window.egw_LAB.wait(function() {
|
||||
$readonlys['button[save]'] = $readonlys['button[apply]'] = $view;
|
||||
|
||||
$sel_options['fileas_type'] = $this->fileas_options($content);
|
||||
$sel_options['adr_one_countrycode']['-custom-'] = lang('Custom');
|
||||
$sel_options['owner'] = $this->get_addressbooks(EGW_ACL_ADD);
|
||||
if ($content['owner']) unset($sel_options['owner'][0]); // do not offer to switch to accounts, as we do not support moving contacts to accounts
|
||||
if ((string) $content['owner'] !== '')
|
||||
|
@ -76,12 +76,12 @@
|
||||
<nextmatch-header label="Birthday" id="bday"/>
|
||||
<vbox>
|
||||
<nextmatch-header label="Business address" id="business"/>
|
||||
<nextmatch-customfilter id="adr_one_countrycode" options="select-country,Country,0,No country selected" class="countrySelect"/>
|
||||
<nextmatch-customfilter id="adr_one_countrycode" options="select-country" empty_label="Country" class="countrySelect"/>
|
||||
<nextmatch-sortheader label="zip code" id="adr_one_postalcode"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<nextmatch-header label="Home address" id="home"/>
|
||||
<nextmatch-customfilter id="adr_two_countrycode" options="select-country,Country,0,No country selected" class="countrySelect"/>
|
||||
<nextmatch-customfilter id="adr_two_countrycode" options="select-country" empty_label="Country" class="countrySelect"/>
|
||||
<nextmatch-sortheader label="zip code" id="adr_two_postalcode"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
|
Loading…
Reference in New Issue
Block a user