diff --git a/layouts/v7/modules/Vtiger/resources/Popup.js b/layouts/v7/modules/Vtiger/resources/Popup.js index 3774c130fe6376c29bf0f85812c0230e41a81ae0..62387f416e3df2c1306c7c733dfcf98e17778e79 100644 --- a/layouts/v7/modules/Vtiger/resources/Popup.js +++ b/layouts/v7/modules/Vtiger/resources/Popup.js @@ -210,8 +210,8 @@ jQuery.Class("Vtiger_Popup_Js",{ var listViewTable = listViewPageDiv.find('.listViewEntriesTable'); var searchParams = new Array(); var currentSearchParams = new Array(); - if(jQuery('#currentSearchParams').val()) - currentSearchParams = JSON.parse(jQuery('#currentSearchParams').val()); + if(jQuery('#currentSearchParams', listViewPageDiv).val()) + currentSearchParams = JSON.parse(jQuery('#currentSearchParams', listViewPageDiv).val()); listViewTable.find('.listSearchContributor').each(function(index,domElement){ var searchInfo = new Array(); var searchContributorElement = jQuery(domElement);