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
Branches
No related tags found
No related merge requests found
...@@ -64,6 +64,7 @@ $(document).ready(function(){ ...@@ -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 @@ ...@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment