Skip to content
Snippets Groups Projects
Commit 9701145f authored by Bart Visscher's avatar Bart Visscher
Browse files

Contacts: make type of phone property also multiselect in addproperty

parent 43911d9a
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@ $(document).ready(function(){
else{
$('#contacts_generic').clone().insertAfter($('#contacts_addpropertyform .contacts_property_name'));
}
$('#contacts_addpropertyform .contacts_property_data select').chosen();
});
$('#contacts_addpropertyform input[type="submit"]').live('click',function(){
......
......@@ -75,7 +75,7 @@
</ul>
<p class="contacts_property_data" id="contacts_phonepart">
<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') ?>
</select>
</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment