1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-19 08:52:22 +01:00

Contacts: fix deletion timer.

This commit is contained in:
Thomas Tanghus 2012-12-22 01:50:27 +01:00
parent c338314594
commit 4dfe512725

View File

@ -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');