From 7441727b2905a2b99d72e9254b11f233be65e2ea Mon Sep 17 00:00:00 2001 From: Ruben Estrada <rulotec1@gmail.com> Date: Mon, 21 Sep 2020 20:21:05 -0500 Subject: [PATCH] fix for #1493. Avoids deleting checkbox and reference fields in mass edit. Since checkboxes and reference fields have hidden inputs in edit view, those were inadvertenly added in the mass save request. --- layouts/v7/modules/Vtiger/resources/List.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/v7/modules/Vtiger/resources/List.js b/layouts/v7/modules/Vtiger/resources/List.js index a1ce13515..731d425c3 100644 --- a/layouts/v7/modules/Vtiger/resources/List.js +++ b/layouts/v7/modules/Vtiger/resources/List.js @@ -1379,7 +1379,7 @@ Vtiger.Class("Vtiger_List_Js", { } //add url params for hidden fields needed for the save request - var hiddenFields = form.find("input[type=hidden]"); + var hiddenFields = form.children("input[type=hidden]"); hiddenFields.each(function(i, obj){ key = $(this).attr("name"); -- GitLab