From bde5b4a7ff3c0f69eab1b4cb92338a1bbe4dbcd8 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Fri, 4 May 2012 00:12:46 +0200 Subject: [PATCH] Contacts: Don't load event handlers more than once, or you're asking for trouble :-P --- apps/contacts/js/contacts.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index bb8b6b89e57..739724f3f1d 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -234,7 +234,6 @@ Contacts={ var id = jsondata.data.id; $.getJSON(OC.filePath('contacts', 'ajax', 'contactdetails.php'),{'id':id},function(jsondata){ if(jsondata.status == 'success'){ - Contacts.UI.loadHandlers(); Contacts.UI.Card.loadContact(jsondata.data); $('#leftcontent .active').removeClass('active'); var item = '
  • '+Contacts.UI.Card.fn+'
  • '; @@ -1429,7 +1428,6 @@ Contacts={ } $(document).ready(function(){ - Contacts.UI.loadHandlers(); OCCategories.changed = Contacts.UI.Card.categoriesChanged; OCCategories.app = 'contacts'; -- 2.39.5