Koha/koha-tmpl/intranet-tmpl/prog/en/includes/greybox.inc
Owen Leonard 3b4fd63d11 Bug 12101 - Move Greybox library outside of language-specific directory
This patch moves the Greybox library to intranet-tmpl/lib so that it is
not duplicated for each set of translated templates. The Greybox library
files are called directly only by one include file, greybox.inc, which
is modified by this patch.

To test, apply the patch and view any page which calls the Greybox
library and confirm that modal windows are still generated correctly.

For instance, Cataloging -> Cataloging search, click the "Preview MARC"
link.

Signed-off-by: David Cook <dcook@prosentient.com.au>

Works as described.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-25 15:14:03 +00:00

7 lines
443 B
HTML

<script type="text/javascript">
var GB_ROOT_DIR = "[% interface %]/lib/greybox/";
</script>
<script type="text/javascript" src="[% interface %]/lib/greybox/AJS.js"></script>
<script type="text/javascript" src="[% interface %]/lib/greybox/AJS_fx.js"></script>
<script type="text/javascript" src="[% interface %]/lib/greybox/gb_scripts.js"></script>
<link href="[% interface %]/lib/greybox/gb_styles.css" rel="stylesheet" type="text/css" />