aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/contacts/js/contacts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js
index 340e43cd1c8..4ccedf87ed6 100644
--- a/apps/contacts/js/contacts.js
+++ b/apps/contacts/js/contacts.js
@@ -1990,7 +1990,7 @@ $(document).ready(function(){
return false;
}
$(this).dialog('close');
- OC.Contacts.Addressbooks.addAddressbook(displayname, description, function(addressbook){
+ OC.Contacts.Contacts.addAddressbook(displayname, description, function(addressbook) {
aid = addressbook.id;
setTimeout(function() {
importFiles(aid, uploadingFiles);