calendarimporter 2.0.3:

- fixed all day eventsvcf importer pre alpha. Import working but contact pictures are not saved.

TODO: rewrite import functionality in php
This commit is contained in:
2013-06-23 10:13:22 +00:00
parent 185c885687
commit 1bb1f956d0
2 changed files with 90 additions and 27 deletions

View File

@@ -500,13 +500,10 @@ Zarafa.plugins.contactimporter.dialogs.ImportPanel = Ext.extend(Ext.Panel, {
* Store the attachment/contact pictures
*/
storeImages : function (store, action, result, res, records) {
var attachStores = new Array();
Ext.each(records, function(record) {
var attachstore = record.createAttachmentStore();
record.createAttachmentStore();
record.save();
attachStores[attachstore.getId()] = attachstore;
var responseHandler = new Zarafa.plugins.contactimporter.data.ResponseHandler({
successCallback: function (response) {
@@ -532,8 +529,8 @@ Zarafa.plugins.contactimporter.dialogs.ImportPanel = Ext.extend(Ext.Panel, {
'contactmodule',
'addattachment',
{
storeid: attachstore.getId(),
entryid: record.id,
storeid: record.get("store_entryid"),
entryid: record.get("entryid"),
tmpfile: record.get("x_photo_path")
},
responseHandler