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>
This commit is contained in:
Owen Leonard 2014-04-17 12:44:42 -04:00 committed by Galen Charlton
parent 1e69481103
commit 3b4fd63d11
50 changed files with 6 additions and 6 deletions

View File

Before

Width:  |  Height:  |  Size: 541 B

After

Width:  |  Height:  |  Size: 541 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

Before

Width:  |  Height:  |  Size: 528 B

After

Width:  |  Height:  |  Size: 528 B

View File

Before

Width:  |  Height:  |  Size: 525 B

After

Width:  |  Height:  |  Size: 525 B

View File

Before

Width:  |  Height:  |  Size: 74 B

After

Width:  |  Height:  |  Size: 74 B

View File

@ -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" />