function showContactPreviewModal(vcard, merge) {
        contactDisplayModal.activate({
            params: {
                vcard,
                onClickMerge() {
                    merge();
                    contactDisplayModal.deactivate();
                },
                onClickClose() {
                    contactDisplayModal.deactivate();
                }
            }
        });
    }
/**
     * Open the preview contact modal, which has the possibility to merge the contact directly.
     * @param {vCard} vcard of the contact
     * @param {Function} merge
     */
Open the preview contact modal, which has the possibility to merge the contact directly.
@param {vCard} vcard of the contact
@param {Function} merge
Open the preview contact modal which has the possibility to merge the contact directly . @param { vCard } vcard of the contact @param { Function } merge
function showContactPreviewModal(vcard, merge) {
        contactDisplayModal.activate({
            params: {
                vcard,
                onClickMerge() {
                    merge();
                    contactDisplayModal.deactivate();
                },
                onClickClose() {
                    contactDisplayModal.deactivate();
                }
            }
        });
    }
function showContactPreviewModal ( vcard , merge ) { contactDisplayModal . activate ( { params : { vcard , onClickMerge ( ) { merge ( ) ; contactDisplayModal . deactivate ( ) ; } , onClickClose ( ) { contactDisplayModal . deactivate ( ) ; } } } ) ; }
Open the preview contact modal, which has the possibility to merge the contact directly.
Open the preview contact modal which has the possibility to merge the contact directly .