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>
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 541 B After Width: | Height: | Size: 541 B |
|
Before Width: | Height: | Size: 528 B After Width: | Height: | Size: 528 B |
|
Before Width: | Height: | Size: 525 B After Width: | Height: | Size: 525 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 74 B |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 541 B After Width: | Height: | Size: 541 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 528 B After Width: | Height: | Size: 528 B |
|
Before Width: | Height: | Size: 525 B After Width: | Height: | Size: 525 B |
|
Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 74 B |
|
|
@ -1,7 +1,7 @@
|
|||
<script type="text/javascript">
|
||||
var GB_ROOT_DIR = "[% themelang %]/lib/greybox/";
|
||||
<script type="text/javascript">
|
||||
var GB_ROOT_DIR = "[% interface %]/lib/greybox/";
|
||||
</script>
|
||||
<script type="text/javascript" src="[% themelang %]/lib/greybox/AJS.js"></script>
|
||||
<script type="text/javascript" src="[% themelang %]/lib/greybox/AJS_fx.js"></script>
|
||||
<script type="text/javascript" src="[% themelang %]/lib/greybox/gb_scripts.js"></script>
|
||||
<link href="[% themelang %]/lib/greybox/gb_styles.css" rel="stylesheet" type="text/css" />
|
||||
<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" />
|
||||
|
|
|
|||