Add file for external links
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 22 Sep 2014 15:42:49 +0000 (11:42 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 22 Sep 2014 15:42:49 +0000 (11:42 -0400)
This will help with any external links. They will open a new window.

Toolkit/Page.php

index 86a9ced..64eaefc 100755 (executable)
@@ -150,9 +150,10 @@ class Toolkit_Page
         $GLOBALS['topScripts'][]    = JQUERY_CDN_JS;
         $GLOBALS['bottomScripts'][] = JQUERY_UI_CDN_JS;
         $GLOBALS['styleSheets'][]   = JQUERY_UI_CDN_CSS;
-               $GLOBALS['styleSheets'][] = $this->mediaBaseURL . 'fancybox/jquery.fancybox.css';
+        $GLOBALS['styleSheets'][] = $this->mediaBaseURL . 'fancybox/jquery.fancybox.css';
         $GLOBALS['bottomScripts'][] = $this->mediaBaseURL . "fancybox/jquery.fancybox.js";
         $GLOBALS['bottomScripts'][] = $this->mediaBaseURL . 'js/reservation.js';
+        $GLOBALS['bottomScripts'][] = $this->glmAppBaseURL . 'libjs/external.js';
     }
 
     private function _video()