Bug 19608: (QA follow-up) Fix redirect on localization modal
This patch makes two minor corrections: 1. The item types localization modal redirect problem has been fixed by excluding the anti-clickjack code from executing in the footer. 2. The sidebar menu highlighting script has been modified to correctly handle the clone-rules page. Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
2a4e76876b
commit
8669dc1548
|
|
@ -1,5 +1,5 @@
|
|||
[% IF ( footerjs ) %]
|
||||
[% INCLUDE js_includes.inc %]
|
||||
[% INCLUDE js_includes.inc popup=1 %]
|
||||
[% jsinclude # Parse the page template's JavaScript block if necessary %]
|
||||
[% END %]
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -66,4 +66,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
|
||||
[% END %]
|
||||
|
||||
[% INCLUDE 'intranet-bottom.inc' %]
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ $(document).ready(function() {
|
|||
$('#navmenulist a[href$="/cgi-bin/koha/admin/oai_sets.pl"]').css('font-weight','bold');
|
||||
} else if (path == "cgi-bin/koha/admin/items_search_field.pl") {
|
||||
$('#navmenulist a[href$="/cgi-bin/koha/admin/items_search_fields.pl"]').css('font-weight','bold');
|
||||
} else if ( path.indexOf("clone-rules") ) {
|
||||
$('#navmenulist a[href$="/cgi-bin/koha/admin/smart-rules.pl"]').css('font-weight','bold');
|
||||
} else {
|
||||
$('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue