only show download button on contact folders
This commit is contained in:
parent
35e1cf5b8e
commit
0256973507
@ -288,7 +288,7 @@ Zarafa.plugins.contactimporter.ImportPlugin = Ext.extend(Zarafa.core.Plugin, {
|
|||||||
break;
|
break;
|
||||||
case Zarafa.core.data.SharedComponentType['common.contextmenu']:
|
case Zarafa.core.data.SharedComponentType['common.contextmenu']:
|
||||||
if (record instanceof Zarafa.core.data.MAPIRecord) {
|
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;
|
bid = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user