Contacts: make type of phone property also multiselect in addproperty
This commit is contained in:
parent
43911d9a6f
commit
9701145f83
|
@ -64,6 +64,7 @@ $(document).ready(function(){
|
||||||
else{
|
else{
|
||||||
$('#contacts_generic').clone().insertAfter($('#contacts_addpropertyform .contacts_property_name'));
|
$('#contacts_generic').clone().insertAfter($('#contacts_addpropertyform .contacts_property_name'));
|
||||||
}
|
}
|
||||||
|
$('#contacts_addpropertyform .contacts_property_data select').chosen();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#contacts_addpropertyform input[type="submit"]').live('click',function(){
|
$('#contacts_addpropertyform input[type="submit"]').live('click',function(){
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
<p class="contacts_property_data" id="contacts_phonepart">
|
<p class="contacts_property_data" id="contacts_phonepart">
|
||||||
<input type="text" name="value" value="">
|
<input type="text" name="value" value="">
|
||||||
<select name="parameters[TYPE]" size="1">
|
<select name="parameters[TYPE][]" multiple="multiple" data-placeholder="<?php echo $l->t('Type') ?>">
|
||||||
<?php echo html_select_options($_['phone_types'], 'CELL') ?>
|
<?php echo html_select_options($_['phone_types'], 'CELL') ?>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue