Browse Source

only show download button on contact folders

tags/v2.0.4
Christoph Haas 3 years ago
parent
commit
0256973507
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      js/plugin.contactimporter.js

+ 1
- 1
js/plugin.contactimporter.js View File

@@ -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;
}
}

Loading…
Cancel
Save