From 9fdd6afea4a5db641bdbe221e7846d0c16d28036 Mon Sep 17 00:00:00 2001 From: Hannah Okwelum Date: Tue, 17 Aug 2021 16:19:14 +0100 Subject: [PATCH] Fix #14502 - Triggered the on-change event on the input field to uncheck the "ignore" checkbox Signed-off-by: Hannah Okwelum --- js/src/sql.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/src/sql.js b/js/src/sql.js index a59c48ba9f..01dc23ea2c 100644 --- a/js/src/sql.js +++ b/js/src/sql.js @@ -937,6 +937,9 @@ Sql.browseForeignDialog = function ($thisA) { } // Set selected value as input value $input.val($(this).data('key')); + // Unchecks the Ignore checkbox for the current row + $input.trigger('change'); + $dialog.dialog('close'); }); $(formId).on('click', showAllId, function () {