From 011085eebb1e0ba19c729b1629db42e00eacaef5 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 11 Apr 2023 20:41:28 +0000 Subject: [PATCH] Bug 33233: Don't allow disabled attribute to remain when using browser's back button To test: 1. Go to OPAC advanced search and do a search using only one of the inputs. 2. Once the search is complete use the browser's back button to return to the advanced search. 3. Notice the unused inputs are disabled. 4. Apply patch and try again. Now the inputs should not be disabled. Signed-off-by: Barbara Johnson Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 3811bb4381e34db7da1fd4593560fef519c4fde4) Signed-off-by: Martin Renvoize (cherry picked from commit c9b0106bd9d24ac7d11529023630f801284cd63b) Signed-off-by: Lucas Gass (cherry picked from commit 06bf531b3d6d9fdf27499d8a0b1361d798c74193) Signed-off-by: danyonsewell (cherry picked from commit 06bf531b3d6d9fdf27499d8a0b1361d798c74193) --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt index cd21067de1..aae1ef2138 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt @@ -450,6 +450,9 @@ [% BLOCK jsinclude %] [% Asset.js("lib/jquery/plugins/jquery.deserialize.min.js") | $raw %] [% END %] -- 2.39.5