diff --git a/layouts/v7/modules/Vtiger/resources/Vtiger.js b/layouts/v7/modules/Vtiger/resources/Vtiger.js index 074942acf5b1dfa967a3f93e1c96edd9e2e02515..c753be3f17f996925b8cfcd51d15fb1907ca614e 100644 --- a/layouts/v7/modules/Vtiger/resources/Vtiger.js +++ b/layouts/v7/modules/Vtiger/resources/Vtiger.js @@ -494,14 +494,18 @@ Vtiger.Class('Vtiger_Index_Js', { params = {}; } if (typeof params.callbackFunction === 'undefined') { + console.log('params callback undefined'); params.callbackFunction = function(data, err) { //fix for Refresh list view after Quick create var parentModule=app.getModuleName(); var viewname=app.view(); if((quickCreateModuleName == parentModule) && (viewname=="List")){ - var listinstance = app.controller(); - listinstance.loadListViewRecords(); - } + var listinstance = app.controller(); + listinstance.loadListViewRecords(); + }else if(quickCreateModuleName == 'Events' && parentModule == 'Calendar' && (viewname=="List")){ + var listinstance = app.controller(); + listinstance.loadListViewRecords(); + } }; } app.helper.showProgress();