From ffc13d5cdab3a5e2383981ce7a2027ea026973b8 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Thu, 28 Mar 2013 04:59:55 +0100 Subject: [PATCH] Contacts: Don't use show/hide on multiselect --- js/contacts.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/contacts.js b/js/contacts.js index 1b8a3063..8f1f998d 100644 --- a/js/contacts.js +++ b/js/contacts.js @@ -503,7 +503,7 @@ OC.Contacts = OC.Contacts || {}; self.id = String(response.data.metadata.id); self.metadata = response.data.metadata; self.data = response.data.data; - self.$groupSelect.multiselect('widget').show(); + self.$groupSelect.multiselect('enable'); // Add contact to current group if(self.groupprops && self.groupprops.currentgroup.id !== 'all' && self.groupprops.currentgroup.id !== 'fav') { @@ -767,7 +767,7 @@ OC.Contacts = OC.Contacts || {}; } }); if(!self.id) { - self.$groupSelect.multiselect('widget').hide(); + self.$groupSelect.multiselect('disable'); } }; @@ -795,7 +795,7 @@ OC.Contacts = OC.Contacts || {}; selectedText: t('contacts', '# groups') }); if(self.id) { - self.$addressBookSelect.multiselect('widget').hide(); + self.$addressBookSelect.multiselect('disable'); } };