From 02569735073d81976d1d56a7d8afbd4d7ceb3bdf Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Tue, 14 Jun 2016 00:23:34 +0200 Subject: [PATCH] only show download button on contact folders --- js/plugin.contactimporter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/plugin.contactimporter.js b/js/plugin.contactimporter.js index 904b900..e6338c8 100644 --- a/js/plugin.contactimporter.js +++ b/js/plugin.contactimporter.js @@ -288,7 +288,7 @@ Zarafa.plugins.contactimporter.ImportPlugin = Ext.extend(Zarafa.core.Plugin, { break; case Zarafa.core.data.SharedComponentType['common.contextmenu']: if (record instanceof Zarafa.core.data.MAPIRecord) { - if (record.get('object_type') == Zarafa.core.mapi.ObjectType.MAPI_FOLDER) { + if (record.get('object_type') == Zarafa.core.mapi.ObjectType.MAPI_FOLDER && record.get('container_class') == "IPF.Contact") { bid = 2; } }