Contacts: make type of phone property also multiselect in addproperty

This commit is contained in:
Bart Visscher 2011-11-24 21:34:50 +01:00
parent 43911d9a6f
commit 9701145f83
2 changed files with 2 additions and 1 deletions

View file

@ -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(){

View file

@ -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>