diff --git a/pkg/vtiger/modules/MailManager/layouts/v7/modules/MailManager/resources/List.js b/pkg/vtiger/modules/MailManager/layouts/v7/modules/MailManager/resources/List.js index 97d55852c944ee52efcb794d7b2e675783cde82c..a14977684d69a9c4d22674b295947fc7020c1ec1 100644 --- a/pkg/vtiger/modules/MailManager/layouts/v7/modules/MailManager/resources/List.js +++ b/pkg/vtiger/modules/MailManager/layouts/v7/modules/MailManager/resources/List.js @@ -156,17 +156,17 @@ Vtiger_List_Js("MailManager_List_Js", {}, { settingContainer.find('.selectFolderDesc').removeClass('hide'); if(useProtocol != '') { settingContainer.find('#_mbox_server').val(useServer); - settingContainer.find('.mbox_protocol').each(function(node) { + settingContainer.find('.mbox_protocol').each(function(i, node) { if(jQuery(node).val() == useProtocol) { jQuery(node).attr('checked', true); } }); - settingContainer.find('.mbox_ssltype').each(function(node) { + settingContainer.find('.mbox_ssltype').each(function(i, node) { if(jQuery(node).val() == useSSLType) { jQuery(node).attr('checked', true); } }); - settingContainer.find('.mbox_certvalidate').each(function(node) { + settingContainer.find('.mbox_certvalidate').each(function(i, node) { if(jQuery(node).val() == useCert) { jQuery(node).attr('checked', true); } @@ -1529,4 +1529,4 @@ Vtiger_List_Js("MailManager_List_Js", {}, { self.registerSearchTypeChangeEvent(); self.registerPostMailSentEvent(); } -}); \ No newline at end of file +});