Owen Leonard
2b4e22b5b9
This patch updates jQueryUI assets in the staff interface with an upgraded and trimmed version which includes only support for jQueryUI autocomplete. Global staff interface CSS has been modified to remove unused jQueryUI-related styles and to accommodate the updated assets. The patch also removes some unused jQueryUI image assets from the OPAC templates. To test, apply the patch and rebuild the staff interface CSS. Test the "Check out" form in the header to confirm that it still looks correct and works correctly. Signed-off-by: Émily-Rose Francoeur <emily-rose.francoeur@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
25 lines
1.1 KiB
PHP
25 lines
1.1 KiB
PHP
[% USE raw %]
|
|
[% USE Asset %]
|
|
[% Asset.js("lib/jquery/jquery-3.6.0.min.js") | $raw %]
|
|
[% Asset.js("lib/jquery/jquery-migrate-3.3.2.min.js") | $raw %]
|
|
[% Asset.js("lib/jquery/jquery-ui-1.13.2.min.js") | $raw %]
|
|
[% Asset.js("lib/bootstrap/bootstrap.min.js") | $raw %]
|
|
[% Asset.js("lib/jquery/plugins/jquery.validate.min.js") | $raw %]
|
|
<!-- installer-intranet-bottom.inc -->
|
|
<script>
|
|
function _(s) { return s } // dummy function for gettext
|
|
[%# Prevent XFS attacks -%]
|
|
$(document).ready(function() {
|
|
if (self === top) {
|
|
var antiClickjack = document.getElementById("antiClickjack");
|
|
antiClickjack.parentNode.removeChild(antiClickjack);
|
|
} else {
|
|
top.location = self.location;
|
|
}
|
|
});
|
|
</script>
|
|
<!-- / installer-intranet-bottom.inc -->
|
|
[% INCLUDE 'calendar.inc' %]
|
|
[% jsinclude | $raw # Parse the page template's JavaScript block if necessary %]
|
|
</body>
|
|
</html>
|