1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-18 07:52:21 +01:00

disable import vcf file by clicking on it on the file app (incompatible with the new import module)

This commit is contained in:
root 2014-07-04 11:16:33 -04:00
parent 5c5bc56ae4
commit e789f0480c

View File

@ -10,7 +10,7 @@ OC.ContactsImporter = OC.ContactsImporter || {
self.path = $('#dir').val();
self.fileName = fileName;
console.log('fileName', self.path, self.fileName);
OC.addScript('contacts', 'addressbooks', function() {
/*OC.addScript('contacts', 'addressbooks', function() {
OC.addScript('contacts', 'storage', function() {
$.when(self._getTemplate()).then(function($tmpl) {
self.$template = $tmpl;
@ -34,7 +34,7 @@ OC.ContactsImporter = OC.ContactsImporter || {
.fail(function(jqxhr, settings, exception) {
console.warn('Error loading storage backend', jqxhr, settings, exception);
});
})
})*/
.fail(function(jqxhr, settings, exception) {
console.warn('Error loading address book backend', jqxhr, settings, exception);
});