diff options
| -rw-r--r-- | modules_v3/lightbox/functions/lb_call_js.php | 2 | ||||
| -rw-r--r-- | modules_v3/lightbox/module.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules_v3/lightbox/functions/lb_call_js.php b/modules_v3/lightbox/functions/lb_call_js.php index c2ca80f7cb..f10368c3cb 100644 --- a/modules_v3/lightbox/functions/lb_call_js.php +++ b/modules_v3/lightbox/functions/lb_call_js.php @@ -30,6 +30,8 @@ if (!defined('WT_WEBTREES')) { exit; } +require_once WT_ROOT.'js/prototype.js.htm'; + global $TEXT_DIRECTION; $LB_MUSIC_FILE=get_module_setting('lightbox', 'LB_MUSIC_FILE', WT_STATIC_URL.WT_MODULES_DIR.'lightbox/music/music.mp3'); ?> diff --git a/modules_v3/lightbox/module.php b/modules_v3/lightbox/module.php index 7809936051..bf6b6dd0bb 100644 --- a/modules_v3/lightbox/module.php +++ b/modules_v3/lightbox/module.php @@ -27,8 +27,6 @@ if (!defined('WT_WEBTREES')) { header('HTTP/1.0 403 Forbidden'); exit; } -// prevents the error where image on Lightbox fails to close - How? I don't know -require_once WT_ROOT.'includes/functions/functions_print_lists.php'; class lightbox_WT_Module extends WT_Module implements WT_Module_Config, WT_Module_Tab { // Extend WT_Module |
