diff --git a/layouts/v7/modules/Vtiger/resources/Vtiger.js b/layouts/v7/modules/Vtiger/resources/Vtiger.js index 9efa3deda60902ddf82c110683b8c1e4bdbb32cd..1afcd670e7e24453b96fb19c5dc59d255ad020d1 100644 --- a/layouts/v7/modules/Vtiger/resources/Vtiger.js +++ b/layouts/v7/modules/Vtiger/resources/Vtiger.js @@ -29,14 +29,8 @@ Vtiger.Class('Vtiger_Index_Js', { record: recordId, attachmentid: attachmentId }; - var modalParams = { - cb: function (modalContainer) { - modalContainer.find('.viewer').zoomer(); - }, - 'ignoreScroll' : true - }; app.request.post({data: params}).then(function (err, res) { - app.helper.showModal(res, modalParams); + app.helper.showModal(res); }); } },