From 4dfe51272531fa8eb689177a9429b72ee85cd734 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sat, 22 Dec 2012 01:50:27 +0100 Subject: [PATCH] Contacts: fix deletion timer. --- js/contacts.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/contacts.js b/js/contacts.js index b143282c..9ec60727 100644 --- a/js/contacts.js +++ b/js/contacts.js @@ -1412,7 +1412,9 @@ OC.Contacts = OC.Contacts || {}; timeouthandler:function() { console.log('timeout'); // Don't fire all deletes at once - self.deletionTimer = setInterval('self.deleteContacts()', 500); + self.deletionTimer = setInterval(function() { + self.deleteContacts(); + }, 500); }, clickhandler:function() { console.log('clickhandler');