From 6bb5ab8a9d825fb14d45706f7f98b896167697e3 Mon Sep 17 00:00:00 2001 From: jbtbnl Date: Tue, 1 Apr 2014 20:12:46 +0200 Subject: [PATCH] Fixes #436 --- css/contacts.css | 2 ++ js/contacts.js | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/css/contacts.css b/css/contacts.css index 25c9cda1..95789c77 100644 --- a/css/contacts.css +++ b/css/contacts.css @@ -802,6 +802,8 @@ tbody tr.contact.active, tbody tr.contact:hover { float: left; width: 300px; height: 30px; + margin: 3px; + margin-left: 0px; overflow: hidden; text-overflow: ellipsis; text-align: bottom; white-space: nowrap; } #contact span.adr:hover { /*overflow: inherit;*/ /*white-space: pre-wrap;*/ } diff --git a/js/contacts.js b/js/contacts.js index d5d574ed..7d5b29bc 100644 --- a/js/contacts.js +++ b/js/contacts.js @@ -1354,11 +1354,21 @@ OC.Contacts = OC.Contacts || {}; var $list = self.$fullelem.find('ul.' + name); $list.removeClass('hidden'); var $property = self.renderStandardProperty(name); + $property.find('select[name="parameters[TYPE][]"]') + .combobox({ + singleclick: true, + classes: ['propertytype', 'float', 'label'] + }); $list.append($property); }); var $list = self.$fullelem.find('ul.adr'); $list.removeClass('hidden'); var $property = self.renderAddressProperty(name); + $property.find('select[name="parameters[TYPE][]"]') + .combobox({ + singleclick: true, + classes: ['propertytype', 'float', 'label'] + }); $list.append($property); // Hide some of the values