diff --git a/layouts/v7/modules/Vtiger/resources/List.js b/layouts/v7/modules/Vtiger/resources/List.js index 00662552954bc96cd0b9f8c6b18a08fdf50b1cfa..110d80bb577aa5a1d0e174cabb9c5b6b8da0d87e 100644 --- a/layouts/v7/modules/Vtiger/resources/List.js +++ b/layouts/v7/modules/Vtiger/resources/List.js @@ -1363,6 +1363,7 @@ Vtiger.Class("Vtiger_List_Js", { var autoIncludeFieldsInMassEditCallback = function() { var fieldName = $(this).attr('name'); + if (!fieldName) return; fieldName = fieldName.replace(/\[\]$/, ''); //remove trailing [] for cases like multiselect $(this).closest('tr').find("input[id=include_in_mass_edit_" + fieldName + "]").prop( "checked", true );