Bug 37745: Fix change framework

Same problem as the previous patch when we try to change the bib
framework while editing a bib record

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-08-29 12:20:36 +02:00 committed by Katrin Fischer
parent 593bad6502
commit d53b77fadb
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -970,7 +970,7 @@ $(document).ready(function(){
[% END %]
<li><h6 class="dropdown-header">Change framework</h6></li>
<li>
<a class="dropdown-item" href="#" class="change-framework" data-frameworkcode="">
<a class="dropdown-item change-framework" href="#" data-frameworkcode="">
[% IF ( frameworkcode ) %]
<i class="fa fa-fw">&nbsp;</i>
[% ELSE %]
@ -981,7 +981,7 @@ $(document).ready(function(){
</li>
[% FOREACH framework IN frameworks%]
<li>
<a class="dropdown-item" href="#" class="change-framework" data-frameworkcode="[% framework.frameworkcode | html %]">
<a class="dropdown-item change-framework" href="#" data-frameworkcode="[% framework.frameworkcode | html %]">
[% IF framework.frameworkcode == frameworkcode %]
<i class="fa fa-fw fa-check"></i>
[% ELSE %]