From 28fb4b07f61ec18672d58d3d4641c7c7f95a004a Mon Sep 17 00:00:00 2001 From: Arthur Suzuki Date: Tue, 14 Jan 2025 09:37:40 +0100 Subject: [PATCH] Bug 38776: (QA follow-up) hide the other_reason text field on page load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Emmanuel Bétemps --- koha-tmpl/intranet-tmpl/prog/js/patron-restrictions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/js/patron-restrictions.js b/koha-tmpl/intranet-tmpl/prog/js/patron-restrictions.js index 9d2f508583..92ebad54bb 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/patron-restrictions.js +++ b/koha-tmpl/intranet-tmpl/prog/js/patron-restrictions.js @@ -1,4 +1,5 @@ $(document).ready(function(){ + $("#other_reason").hide(); $("#other_reason").on('change', function(){ $("#rcomment").val($(this).val()); }); -- 2.39.5